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:
@@ -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
|
||||
|
Reference in New Issue
Block a user