30 lines
746 B
YAML
30 lines
746 B
YAML
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
|
|
volumes:
|
|
- repo-data:/srv/flatpak-mirror
|
|
- ./config:/config:ro
|
|
- ./gpg:/etc/flatpak-sign/gnupg
|
|
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: |