docker/docker-compose.yml hinzugefügt

This commit is contained in:
2026-08-18 14:10:05 +02:00
parent 11580dd77f
commit 36e2ca13e9
+32
View File
@@ -0,0 +1,32 @@
services:
sync:
build:
context: ./sync
container_name: flatpak-sync
# Git-Zugangsdaten (GIT_REPO_URL, GIT_BRANCH, optional GIT_USERNAME/
# GIT_TOKEN fuer private Repos) kommen aus der NICHT versionierten
# .env-Datei - siehe .env.example als Vorlage.
env_file:
- .env
environment:
- SYNC_INTERVAL_SECONDS=900
- FLATHUB_REMOTE_URL=https://dl.flathub.org/repo/
- FLATHUB_GPG_URL=https://dl.flathub.org/repo/flathub.gpg
volumes:
- repo-data:/srv/flatpak-mirror
restart: unless-stopped
nginx:
image: nginx:stable
container_name: flatpak-nginx
depends_on:
- sync
ports:
- "8080:80"
volumes:
- repo-data:/usr/share/nginx/html:ro
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
restart: unless-stopped
volumes:
repo-data: