Loading docker-compose-postgres.yml +7 −1 Original line number Diff line number Diff line Loading @@ -14,6 +14,11 @@ services: ports: - "5432:5432" - "8080:8080" healthcheck: test: ["CMD", "pg_isready", "-U", "postgres", "-d", "nakama"] interval: 3s timeout: 3s retries: 5 nakama: container_name: nakama image: heroiclabs/nakama:3.12.0 Loading @@ -27,7 +32,8 @@ services: links: - "postgres:db" depends_on: - postgres postgres: condition: service_healthy volumes: - ./:/nakama/data expose: Loading docker-compose.yml +9 −2 Original line number Diff line number Diff line Loading @@ -12,6 +12,11 @@ services: ports: - "26257:26257" - "8080:8080" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"] interval: 3s timeout: 3s retries: 5 nakama: image: heroiclabs/nakama:3.12.0 entrypoint: Loading @@ -24,8 +29,10 @@ services: links: - "cockroachdb:db" depends_on: - cockroachdb - prometheus cockroachdb: condition: service_healthy prometheus: condition: service_started volumes: - ./:/nakama/data expose: Loading Loading
docker-compose-postgres.yml +7 −1 Original line number Diff line number Diff line Loading @@ -14,6 +14,11 @@ services: ports: - "5432:5432" - "8080:8080" healthcheck: test: ["CMD", "pg_isready", "-U", "postgres", "-d", "nakama"] interval: 3s timeout: 3s retries: 5 nakama: container_name: nakama image: heroiclabs/nakama:3.12.0 Loading @@ -27,7 +32,8 @@ services: links: - "postgres:db" depends_on: - postgres postgres: condition: service_healthy volumes: - ./:/nakama/data expose: Loading
docker-compose.yml +9 −2 Original line number Diff line number Diff line Loading @@ -12,6 +12,11 @@ services: ports: - "26257:26257" - "8080:8080" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"] interval: 3s timeout: 3s retries: 5 nakama: image: heroiclabs/nakama:3.12.0 entrypoint: Loading @@ -24,8 +29,10 @@ services: links: - "cockroachdb:db" depends_on: - cockroachdb - prometheus cockroachdb: condition: service_healthy prometheus: condition: service_started volumes: - ./:/nakama/data expose: Loading