Feat: Fügt die docker Konfiguration ein
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
GITEA_URL=https://gitea.creative-dragonslayer.de
|
||||
GITEA_TOKEN=dein_gitea_api_token
|
||||
REGISTRY_OWNER=Linuxapps
|
||||
GITHUB_TOKEN=dein_optionaler_github_pat
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -1,3 +1,5 @@
|
||||
# mirror_package
|
||||
|
||||
Eine einfache docker-compose für [MirrorPackage](https://gitea.creative-dragonslayer.de/Linuxapps/MirrorPackage).
|
||||
|
||||
Commands ausführen mit docker compose run ...
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
mirror-package:
|
||||
image: gitea.creative-dragonslayer.de/linuxapps/mirror-package:latest
|
||||
container_name: mirror-package
|
||||
user: "10001:10001"
|
||||
read_only: true
|
||||
cap_drop:
|
||||
- ALL
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
volumes:
|
||||
- ./data/config:/home/appuser/.config/mirror-package
|
||||
- ./data/state:/home/appuser/.local/state/mirror-package
|
||||
tmpfs:
|
||||
- /tmp:rw,noexec,nosuid,size=2G
|
||||
environment:
|
||||
- GITEA_URL="${GITEA_URL}"
|
||||
- GITEA_TOKEN="${GITEA_TOKEN}"
|
||||
- REGISTRY_OWNER="${REGISTRY_OWNER}"
|
||||
- GITHUB_TOKEN="${GITHUB_TOKEN}"
|
||||
- LOG_LEVEL=info
|
||||
command: ["sync"]
|
||||
Reference in New Issue
Block a user