35 lines
687 B
YAML
35 lines
687 B
YAML
|
version: "3.7"
|
||
|
services:
|
||
|
db:
|
||
|
image: salix-db
|
||
|
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:
|
||
|
context: .
|
||
|
dockerfile: front/Dockerfile
|
||
|
ports:
|
||
|
- 5000:80
|
||
|
|
||
|
networks:
|
||
|
salix-stack-network:
|