added apps!
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
# OpenGist - Kód snippetek megosztása (GitHub Gist alternatíva)
|
||||
# Domain: gist.${DOMAIN}
|
||||
# Database: None (file-based)
|
||||
# RAM: ~30M (mem_limit: 128M) | Pi-compatible: Yes
|
||||
#
|
||||
# Environment variables:
|
||||
# DOMAIN - Your domain (e.g., demo-felhom.eu)
|
||||
|
||||
services:
|
||||
opengist:
|
||||
image: ghcr.io/thomiceli/opengist:1.10
|
||||
container_name: opengist
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TZ=Europe/Budapest
|
||||
- OG_EXTERNAL_URL=https://gist.${DOMAIN}
|
||||
volumes:
|
||||
- opengist_data:/opengist
|
||||
networks:
|
||||
- traefik-public
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 128M
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:6157/healthcheck"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.opengist.rule=Host(`gist.${DOMAIN}`)"
|
||||
- "traefik.http.routers.opengist.entrypoints=websecure"
|
||||
- "traefik.http.routers.opengist.tls=true"
|
||||
- "traefik.http.routers.opengist.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.opengist.loadbalancer.server.port=6157"
|
||||
|
||||
volumes:
|
||||
opengist_data:
|
||||
|
||||
networks:
|
||||
traefik-public:
|
||||
external: true
|
||||
Reference in New Issue
Block a user