Add network

This commit is contained in:
2025-07-08 16:27:43 +05:30
parent f076855e32
commit 601ec06611
10 changed files with 71 additions and 51 deletions

View File

@@ -13,6 +13,8 @@ services:
- ${APPDATA_PATH}/gitea-mirror/data:/app/data
ports:
- ${PORT}:4321
networks:
- internal
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=3", "--spider", "http://localhost:4321/api/health"]
@@ -20,3 +22,7 @@ services:
timeout: 10s
retries: 5
start_period: 15s
networks:
internal:
external: true