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
|
|
|
|
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:26:59 +00:00
|
|
|
- /mnt/cluster/pdfs:/var/lib/salix/pdfs
|