feat(docker): add DNS configuration and update image references in Docker setup
This commit is contained in:
@@ -7,3 +7,6 @@ RUN apt-get update \
|
||||
stockfish \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir -p /home/vscode/.gradle/wrapper/dists \
|
||||
&& chown -R vscode:vscode /home/vscode/.gradle
|
||||
|
||||
|
||||
@@ -18,6 +18,9 @@ services:
|
||||
INTERNAL_SECRET: dev-internal-secret
|
||||
STOCKFISH_PATH: /usr/games/stockfish
|
||||
NOWCHESS_COORDINATOR_ENABLED: "true"
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 1.1.1.1
|
||||
depends_on:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
@@ -25,7 +28,7 @@ services:
|
||||
condition: service_healthy
|
||||
|
||||
redis:
|
||||
image: redis:7.4-alpine
|
||||
image: docker.io/redis:7.4-alpine
|
||||
command: ["redis-server", "--appendonly", "yes", "--save", "60", "1"]
|
||||
ports:
|
||||
- "16379:6379"
|
||||
@@ -39,7 +42,7 @@ services:
|
||||
start_period: 5s
|
||||
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
image: docker.io/postgres:16-alpine
|
||||
environment:
|
||||
POSTGRES_DB: nowchess
|
||||
POSTGRES_USER: nowchess
|
||||
|
||||
Reference in New Issue
Block a user