diff --git a/docker-compose.yml b/docker-compose.yml index b76c836..9ffe7c4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -110,31 +110,30 @@ services: - world-engine restart: unless-stopped - nakama-db: - container_name: nakama-db - image: cockroachdb/cockroach:latest-v23.1 - command: start-single-node --insecure --store=attrs=ssd,path=/var/lib/cockroach/,size=20% - restart: unless-stopped - environment: - - COCKROACH_DATABASE=nakama - - COCKROACH_USER=root - - COCKROACH_PASSWORD=${DB_PASSWORD:-very_unsafe_password_replace_me} - volumes: - - data:/var/lib/cockroach - expose: - - "8080" - - "26257" - ports: - - "26257:26257" - - "8080:8080" - healthcheck: - test: [ "CMD", "curl", "-f", "http://localhost:8080/health?ready=1" ] - interval: 3s - timeout: 3s - retries: 5 - attach: false - networks: - - world-engine +nakama-db: + container_name: nakama-db + image: cockroachdb/cockroach:latest-v23.1 + command: start-single-node --insecure --store=attrs=ssd,path=/var/lib/cockroach/,size=20% + restart: unless-stopped + environment: + - COCKROACH_DATABASE=nakama + - COCKROACH_USER=root + - COCKROACH_PASSWORD=${DB_PASSWORD:-very_unsafe_password_replace_me} + volumes: + - data:/var/lib/cockroach + expose: + - "8080" + - "26257" + ports: + - "26257:26257" + - "8080:8080" + healthcheck: + test: [ "CMD", "curl", "-f", "http://localhost:8080/health?ready=1" ] + interval: 3s + timeout: 3s + retries: 5 + networks: + - world-engine redis: container_name: redis