salix/docker-compose.yml

21 lines
452 B
YAML

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