WIP: 5739-dockerRefactor #1822

Draft
alexm wants to merge 67 commits from 5739-dockerRefactor into dev
1 changed files with 15 additions and 17 deletions
Showing only changes of commit b2254236b0 - Show all commits

View File

@ -5,23 +5,6 @@ services:
build:
context: db
dockerfile: Dockerfile
ports:
- 3306:3306
networks:
- salix-stack-network
back:
image: salix-back
build:
context: .
dockerfile: Dockerfile
networks:
- salix-stack-network
ports:
- 3000:3000
depends_on:
- db
environment:
- NODE_ENV
front:
image: front
build:
@ -29,6 +12,21 @@ services:
dockerfile: front/Dockerfile
ports:
- 5000:80
links:
- back
back:
image: salix-back
build:
context: .
dockerfile: Dockerfile
ports:
- 3000:3000
environment:
- NODE_ENV
depends_on:
- db
networks:
salix-stack-network:
driver: host