feat(docker): add DNS configuration and update image references in Docker setup

This commit is contained in:
2026-04-29 10:59:40 +02:00
parent 47982fb63f
commit 91efed1370
2 changed files with 8 additions and 2 deletions
+3
View File
@@ -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
+5 -2
View File
@@ -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