salix/docker-compose.yml

21 lines
541 B
YAML

version: '3.5'
services:
app:
image: registry.verdnatura.es/salix-app:${TAG}
restart: unless-stopped
build:
context: .
dockerfile: front/Dockerfile
ports:
- ${PORT}:80
links:
- api
api:
image: registry.verdnatura.es/salix-api:${TAG}
restart: unless-stopped
build: .
environment:
- NODE_ENV
volumes:
- /containers/salix:/etc/salix
- /mnt/storage/pdfs:/var/lib/salix/pdfs