mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
update docker swarm stack
This commit is contained in:
@@ -5,8 +5,8 @@ services:
|
|||||||
image: haproxy:latest
|
image: haproxy:latest
|
||||||
ports:
|
ports:
|
||||||
- '7001:7000'
|
- '7001:7000'
|
||||||
- '5002:5433'
|
- '5002:5433' # Postgres master
|
||||||
- '5003:5434'
|
- '5003:5434' # Postgres read
|
||||||
- '6379:6379'
|
- '6379:6379'
|
||||||
- '8080:8080'
|
- '8080:8080'
|
||||||
networks:
|
networks:
|
||||||
@@ -15,22 +15,18 @@ services:
|
|||||||
- source: haproxy-config
|
- source: haproxy-config
|
||||||
target: /usr/local/etc/haproxy/haproxy.cfg
|
target: /usr/local/etc/haproxy/haproxy.cfg
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
mode: global
|
||||||
constraints:
|
|
||||||
- node.labels.name == node1
|
|
||||||
|
|
||||||
infisical:
|
infisical:
|
||||||
container_name: infisical-backend
|
container_name: infisical-backend
|
||||||
image: infisical/infisical:latest-postgres
|
image: infisical/infisical:v0.60.1-postgres
|
||||||
env_file: .env
|
env_file: .env
|
||||||
ports:
|
|
||||||
- 80:8080
|
|
||||||
environment:
|
|
||||||
- NODE_ENV=production
|
|
||||||
networks:
|
networks:
|
||||||
- infisical
|
- infisical
|
||||||
secrets:
|
secrets:
|
||||||
- env_file
|
- env_file
|
||||||
|
deploy:
|
||||||
|
replicas: 5
|
||||||
|
|
||||||
etcd1:
|
etcd1:
|
||||||
image: ghcr.io/zalando/spilo-16:3.2-p2
|
image: ghcr.io/zalando/spilo-16:3.2-p2
|
||||||
|
|||||||
Reference in New Issue
Block a user