mirror of
https://github.com/Dokploy/templates.git
synced 2026-03-12 01:56:43 -05:00
Updated Docker image to latest tag (#351)
This commit is contained in:
@@ -1,19 +1,22 @@
|
||||
services:
|
||||
gitea-mirror:
|
||||
image: ghcr.io/arunavo4/gitea-mirror:v2.11.2
|
||||
image: ghcr.io/raylabshq/gitea-mirror:latest
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=3", "--spider", "http://localhost:4321/api/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
start_period: 15s
|
||||
environment:
|
||||
# Absolutely required - cannot be changed via UI
|
||||
- BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET}
|
||||
- BETTER_AUTH_URL=${BETTER_AUTH_URL}
|
||||
# Core settings with defaults
|
||||
- NODE_ENV=production
|
||||
- DATABASE_URL=file:data/gitea-mirror.db
|
||||
- HOST=0.0.0.0
|
||||
- PORT=4321
|
||||
- JWT_SECRET=${JWT_SECRET}
|
||||
volumes:
|
||||
- gitea_mirror_data:/app/data
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 44 KiB |
@@ -10,4 +10,5 @@ port = 4_321
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
JWT_SECRET = "${base64:64}"
|
||||
BETTER_AUTH_SECRET = "${base64:64}"
|
||||
BETTER_AUTH_URL = "https://${main_domain}"
|
||||
Reference in New Issue
Block a user