salix/docker-compose.yml

21 lines
464 B
YAML

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