# OpenGist - Kód snippetek megosztása (GitHub Gist alternatíva) # Domain: ${SUBDOMAIN}.${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://${SUBDOMAIN}.${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(`${SUBDOMAIN}.${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