Create backend
- NodeJs - Express - Socket.io - Eslint - TypeScript
This commit is contained in:
parent
c0e75ae07e
commit
ba335aa33d
10 changed files with 2277 additions and 0 deletions
|
@ -23,3 +23,14 @@ services:
|
|||
labels:
|
||||
- "traefik.http.routers.front.rule=Host(`workadventure.localhost`)"
|
||||
- "traefik.http.services.front.loadbalancer.server.port=8080"
|
||||
|
||||
back:
|
||||
image: thecodingmachine/nodejs:12
|
||||
command: yarn dev
|
||||
environment:
|
||||
STARTUP_COMMAND_1: yarn install
|
||||
volumes:
|
||||
- ./back:/usr/src/app
|
||||
labels:
|
||||
- "traefik.http.routers.back.rule=Host(`back.workadventure.localhost`)"
|
||||
- "traefik.http.services.back.loadbalancer.server.port=8080"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue