diff --git a/docker-compose.yml b/docker-compose.yml index 241ee7b..7e381ff 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -45,8 +45,8 @@ services: retries: 5 environment: - NODE_ENV=production - - DATABASE_URL=postgresql://coop:coop_password@postgres:5432/coop_credits?schema=public - - REDIS_URL=redis://redis:6379 + - DATABASE_URL=postgresql://coop:coop_password@localhost:5432/coop_credits?schema=public + - REDIS_URL=redis://localhost:6379 - PORT=3002 - JWT_SECRET=${JWT_SECRET} - SOLANA_RPC_URL=${SOLANA_RPC_URL:-https://api.devnet.solana.com} @@ -60,15 +60,12 @@ services: - OVERSEER_URL=${OVERSEER_URL} - OVERSEER_API_KEY=${OVERSEER_API_KEY} - ENCRYPTION_KEY=${ENCRYPTION_KEY} - ports: - - "3002:3002" # Exposed on all interfaces + network_mode: host depends_on: postgres: condition: service_healthy redis: condition: service_healthy - networks: - - coop-network restart: unless-stopped frontend: