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 \
|
stockfish \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& 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
|
INTERNAL_SECRET: dev-internal-secret
|
||||||
STOCKFISH_PATH: /usr/games/stockfish
|
STOCKFISH_PATH: /usr/games/stockfish
|
||||||
NOWCHESS_COORDINATOR_ENABLED: "true"
|
NOWCHESS_COORDINATOR_ENABLED: "true"
|
||||||
|
dns:
|
||||||
|
- 8.8.8.8
|
||||||
|
- 1.1.1.1
|
||||||
depends_on:
|
depends_on:
|
||||||
redis:
|
redis:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -25,7 +28,7 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:7.4-alpine
|
image: docker.io/redis:7.4-alpine
|
||||||
command: ["redis-server", "--appendonly", "yes", "--save", "60", "1"]
|
command: ["redis-server", "--appendonly", "yes", "--save", "60", "1"]
|
||||||
ports:
|
ports:
|
||||||
- "16379:6379"
|
- "16379:6379"
|
||||||
@@ -39,7 +42,7 @@ services:
|
|||||||
start_period: 5s
|
start_period: 5s
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16-alpine
|
image: docker.io/postgres:16-alpine
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: nowchess
|
POSTGRES_DB: nowchess
|
||||||
POSTGRES_USER: nowchess
|
POSTGRES_USER: nowchess
|
||||||
|
|||||||
Reference in New Issue
Block a user