salix/docker-compose.yml

21 lines
480 B
YAML

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