Add network (#6)

Add network

Reviewed-on: #6
Co-authored-by: ryuupendragon <ryuu@ryuu.in>
Co-committed-by: ryuupendragon <ryuu@ryuu.in>
This commit is contained in:
2025-07-08 16:40:16 +05:30
committed by Ryuu Pendragon
parent f076855e32
commit 645561a52b
20 changed files with 150 additions and 59 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