Docker compose fixes
gitea/salix/test There was a failure building this commit
Details
gitea/salix/test There was a failure building this commit
Details
This commit is contained in:
parent
3b4b0be167
commit
1565bc3a92
|
@ -2,18 +2,19 @@ version: '3.5'
|
|||
services:
|
||||
front:
|
||||
image: registry.verdnatura.es/salix-front:${TAG}
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: .
|
||||
dockerfile: front/Dockerfile
|
||||
ports:
|
||||
- ${PORT_FRONT}:80
|
||||
links:
|
||||
- back
|
||||
deploy:
|
||||
replicas: 3
|
||||
back:
|
||||
image: registry.verdnatura.es/salix-back:${TAG}
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
delay: 5s
|
||||
max_attempts: 3
|
||||
restart: unless-stopped
|
||||
build: .
|
||||
ports:
|
||||
|
@ -34,3 +35,12 @@ services:
|
|||
- /mnt/storage/dms:/var/lib/salix/dms
|
||||
deploy:
|
||||
replicas: 6
|
||||
configs:
|
||||
salix_datasources:
|
||||
external: true
|
||||
salix-${BRANCH_NAME}_datasources:
|
||||
external: true
|
||||
salix_print:
|
||||
external: true
|
||||
salix-${BRANCH_NAME}_print:
|
||||
external: true
|
||||
|
|
Loading…
Reference in New Issue