This commit is contained in:
parent
34e0e8f1a7
commit
df03e066f9
|
@ -3,6 +3,12 @@ version: '3'
|
|||
services:
|
||||
|
||||
huginn:
|
||||
deploy:
|
||||
placement:
|
||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
image: huginn/huginn
|
||||
environment:
|
||||
# For huginn/huginn - essential
|
||||
|
@ -26,6 +32,12 @@ services:
|
|||
- externalnet
|
||||
|
||||
db:
|
||||
deploy:
|
||||
placement:
|
||||
constraints: [node.labels.com.sigyl.git-stack-data == yes]
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
environment:
|
||||
- POSTGRES_USER=huginn
|
||||
- POSTGRES_PASSWORD=<database password>
|
||||
|
@ -40,6 +52,12 @@ services:
|
|||
- externalnet
|
||||
|
||||
db-backup:
|
||||
deploy:
|
||||
placement:
|
||||
constraints: [node.labels.com.sigyl.git-stack-data == yes]
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
image: postgres:latest
|
||||
environment:
|
||||
- POSTGRES_USER=huginn
|
||||
|
|
Loading…
Reference in New Issue