salix/docker-compose.yml

31 lines
837 B
YAML
Raw Normal View History

2018-12-27 15:10:55 +00:00
version: '3.5'
services:
2018-12-31 13:02:46 +00:00
app:
2019-01-14 07:39:05 +00:00
image: registry.verdnatura.es/salix-app:${TAG}
restart: unless-stopped
2018-12-27 15:10:55 +00:00
build:
context: .
2018-12-31 13:02:46 +00:00
dockerfile: services/nginx/Dockerfile
2018-12-27 15:10:55 +00:00
ports:
2019-01-02 01:02:29 +00:00
- ${PORT}:80
2018-12-31 13:02:46 +00:00
links:
- api
2019-01-15 07:12:37 +00:00
- mailer
2018-12-31 13:02:46 +00:00
api:
2019-01-14 07:39:05 +00:00
image: registry.verdnatura.es/salix-api:${TAG}
restart: unless-stopped
2018-12-31 13:02:46 +00:00
build: .
2018-12-27 15:10:55 +00:00
environment:
2019-01-04 12:32:04 +00:00
- NODE_ENV
2018-12-27 15:10:55 +00:00
volumes:
2019-01-02 00:31:41 +00:00
- /containers/salix:/etc/salix
2019-01-14 16:33:43 +00:00
- /mnt/storage/pdfs:/var/lib/salix/pdfs
2019-01-15 07:12:37 +00:00
mailer:
image: registry.verdnatura.es/salix-mailer:${TAG}
restart: unless-stopped
build:
2019-01-15 07:17:22 +00:00
context: services/mailer
2019-01-15 07:12:37 +00:00
environment:
- NODE_ENV
volumes:
2019-01-15 07:34:54 +00:00
- /containers/vn-mailer:/etc/vn-mailer