Migrating messages locally into back and front

This commit is contained in:
David Négrier 2020-09-24 11:16:08 +02:00
parent b4f971c501
commit d7209d8864
18 changed files with 46 additions and 14 deletions

View file

@ -33,7 +33,6 @@ services:
command: yarn run start
volumes:
- ./front:/usr/src/app
- ./messages:/usr/src/messages/
labels:
- "traefik.http.routers.front.rule=Host(`play.workadventure.localhost`)"
- "traefik.http.routers.front.entryPoints=web,traefik"
@ -76,7 +75,6 @@ services:
ALLOW_ARTILLERY: "true"
volumes:
- ./back:/usr/src/app
- ./messages:/usr/src/messages/
labels:
- "traefik.http.routers.back.rule=Host(`api.workadventure.localhost`)"
- "traefik.http.routers.back.entryPoints=web"
@ -111,3 +109,5 @@ services:
STARTUP_COMMAND_2: yarn run proto:watch
volumes:
- ./messages:/usr/src/app
- ./back:/usr/src/back
- ./front:/usr/src/front