salix/docker-compose.yml

21 lines
453 B
YAML

version: '3.5'
services:
app:
build:
context: .
dockerfile: services/nginx/Dockerfile
ports:
- ${PORT}:80
image: salix-app:${TAG}
restart: unless-stopped
links:
- api
api:
build: .
environment:
- NODE_ENV
restart: unless-stopped
image: salix-api:${TAG}
volumes:
- /containers/salix:/etc/salix