Server milestone update

dependabot/npm_and_yarn/frontend/axios-0.21.2
sigonasr2 3 years ago
parent 847def6d39
commit 1c3f1d5dbe
  1. 40
      docker-compose.yml
  2. 7
      frontend/src/setupProxy.js
  3. 4205
      server/app.js
  4. 1379
      server/routes/d4dj-routes.js
  5. 2
      server2
  6. 1
      server3
  7. 1
      sigcrafting

@ -35,6 +35,22 @@ services:
max-size: "1m" max-size: "1m"
max-file: "3" max-file: "3"
server3:
build: server3
depends_on:
- postgres
ports:
- "4505:4505"
working_dir: /server3
volumes:
- ./server3:/server3
env_file:
- ./server/.env.twitter
logging:
options:
max-size: "1m"
max-file: "3"
imgparser: imgparser:
build: imgparser build: imgparser
@ -89,6 +105,30 @@ services:
max-size: "1m" max-size: "1m"
max-file: "3" max-file: "3"
sigcrafting:
build:
context: sigcrafting
dockerfile: Dockerfile
restart: on-failure
depends_on:
- postgres
- server
ports:
- "3001:3001"
environment:
- CHOKIDAR_USEPOLLING=true
stdin_open: true
working_dir: /sigcrafting
env_file:
- ./sigcrafting/.env
volumes:
- /app/node_modules
- ./sigcrafting:/sigcrafting
logging:
options:
max-size: "1m"
max-file: "3"
# prod-frontend: # prod-frontend:
# build: # build:

@ -8,6 +8,13 @@ module.exports = function(app) {
changeOrigin: true, changeOrigin: true,
}) })
);*/ );*/
app.use(
"/sigcrafting",
createProxyMiddleware({
target: 'http://server:3001',
changeOrigin: true,
})
);
app.use( app.use(
"/ngsplanner/class", "/ngsplanner/class",
createProxyMiddleware({ createProxyMiddleware({

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1 +1 @@
Subproject commit 8b1b559adb0951c36854dec6f54968e1ce017a87 Subproject commit 4fc4179476328d449a20e471089dd1aba4d34a31

@ -0,0 +1 @@
Subproject commit bbbce91146ace85c3df6f6e35a42615d7988ef7a

@ -0,0 +1 @@
Subproject commit a86c4035242ef46e468fca8ac30c6d2c6173c5ad
Loading…
Cancel
Save