salix/docker-compose.yml

24 lines
651 B
YAML
Raw Normal View History

2018-12-27 15:10:55 +00:00
version: '3.5'
services:
front:
image: registry.verdnatura.es/salix-front:${TAG}
2019-01-14 07:39:05 +00:00
restart: unless-stopped
2018-12-27 15:10:55 +00:00
build:
context: .
2019-01-25 22:02:29 +00:00
dockerfile: front/Dockerfile
2018-12-27 15:10:55 +00:00
ports:
2019-12-08 11:31:32 +00:00
- ${PORT_FRONT}:80
2018-12-31 13:02:46 +00:00
links:
- back
back:
image: registry.verdnatura.es/salix-back:${TAG}
2019-01-14 07:39:05 +00:00
restart: unless-stopped
2018-12-31 13:02:46 +00:00
build: .
2019-12-08 11:31:32 +00:00
ports:
- ${PORT_BACK}:3000
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-05-01 16:49:39 +00:00
- /mnt/storage/pdfs:/var/lib/salix/pdfs
- /mnt/storage/dms:/var/lib/salix/dms