Create backend

- NodeJs
 - Express
 - Socket.io
 - Eslint
 - TypeScript
This commit is contained in:
gparant 2020-04-04 04:08:12 +02:00
parent c0e75ae07e
commit ba335aa33d
10 changed files with 2277 additions and 0 deletions

View file

@ -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"