salix/docker-compose.yml

31 lines
832 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:
dockerfile: services/mailer/Dockerfile
environment:
- NODE_ENV
volumes:
- /config/vn-mailer