mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 14:17:22 +01:00
rework MareConfigurationServiceClient
This commit is contained in:
parent
18a9a76dcd
commit
de2defe692
7 changed files with 120 additions and 78 deletions
|
|
@ -9,6 +9,11 @@ services:
|
|||
volumes:
|
||||
- ../data/postgresql/:/var/lib/postgresql/data
|
||||
- postgres_socket:/var/run/postgresql:rw
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U mare"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
haproxy:
|
||||
image: haproxy:latest
|
||||
|
|
@ -35,7 +40,8 @@ services:
|
|||
- ../log/server-shard-main/:/opt/MareSynchronosServer/logs/:rw
|
||||
- postgres_socket:/var/run/postgresql/:rw
|
||||
depends_on:
|
||||
- "postgres"
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
mare-shard-1:
|
||||
image: darkarchon/mare-synchronos-server:latest
|
||||
|
|
|
|||
|
|
@ -9,6 +9,11 @@ services:
|
|||
volumes:
|
||||
- ../data/postgresql/:/var/lib/postgresql/data
|
||||
- postgres_socket:/var/run/postgresql:rw
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U mare"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
mare-server:
|
||||
image: darkarchon/mare-synchronos-server:latest
|
||||
|
|
@ -22,7 +27,8 @@ services:
|
|||
- ../log/server-standalone/:/opt/MareSynchronosServer/logs/:rw
|
||||
- postgres_socket:/var/run/postgresql/:rw
|
||||
depends_on:
|
||||
- "postgres"
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
mare-services:
|
||||
image: darkarchon/mare-synchronos-services:latest
|
||||
|
|
@ -34,7 +40,8 @@ services:
|
|||
- ../log/services-standalone/:/opt/MareSynchronosServices/logs/:rw
|
||||
- postgres_socket:/var/run/postgresql/:rw
|
||||
depends_on:
|
||||
- "postgres"
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
- "mare-server"
|
||||
|
||||
mare-files:
|
||||
|
|
@ -48,7 +55,8 @@ services:
|
|||
- postgres_socket:/var/run/postgresql/:rw
|
||||
- ../data/files-standalone/:/marecache/:rw
|
||||
depends_on:
|
||||
- "postgres"
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
- "mare-server"
|
||||
|
||||
volumes:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue