2018-12-27 15:10:55 +00:00
|
|
|
version: '3.5'
|
|
|
|
services:
|
2019-02-01 10:46:54 +00:00
|
|
|
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:
|
2019-02-01 10:46:54 +00:00
|
|
|
- back
|
2019-12-19 13:27:29 +00:00
|
|
|
deploy:
|
|
|
|
replicas: 3
|
2019-02-01 10:46:54 +00:00
|
|
|
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
|
2019-12-12 14:02:58 +00:00
|
|
|
- /mnt/storage/dms:/var/lib/salix/dms
|
2019-12-19 13:27:29 +00:00
|
|
|
deploy:
|
|
|
|
replicas: 6
|