Merge branch '5739-dockerRefactor' of https://gitea.verdnatura.es/verdnatura/salix into 5739-dockerRefactor
This commit is contained in:
commit
b2254236b0
|
@ -5,23 +5,6 @@ services:
|
||||||
build:
|
build:
|
||||||
context: db
|
context: db
|
||||||
dockerfile: Dockerfile
|
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:
|
front:
|
||||||
image: front
|
image: front
|
||||||
build:
|
build:
|
||||||
|
@ -29,6 +12,21 @@ services:
|
||||||
dockerfile: front/Dockerfile
|
dockerfile: front/Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- 5000:80
|
- 5000:80
|
||||||
|
links:
|
||||||
|
- back
|
||||||
|
|
||||||
|
back:
|
||||||
|
image: salix-back
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
|
environment:
|
||||||
|
- NODE_ENV
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
salix-stack-network:
|
salix-stack-network:
|
||||||
|
driver: host
|
||||||
|
|
Loading…
Reference in New Issue