salix/docker-compose.local.yml

35 lines
687 B
YAML
Raw Normal View History

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: