salix/docker-compose.yml

31 lines
837 B
YAML

version: '3.5'
services:
app:
image: registry.verdnatura.es/salix-app:${TAG}
restart: unless-stopped
build:
context: .
dockerfile: services/nginx/Dockerfile
ports:
- ${PORT}:80
links:
- api
- mailer
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
mailer:
image: registry.verdnatura.es/salix-mailer:${TAG}
restart: unless-stopped
build:
context: services/mailer
environment:
- NODE_ENV
volumes:
- /containers/vn-mailer:/etc/vn-mailer