Improve the format of the docker files

This commit is contained in:
Manuel Thalmann 2024-11-27 02:59:07 +01:00
parent 9a3d7d4f68
commit 38d8eeedde
6 changed files with 10 additions and 11 deletions

View file

@ -4,7 +4,6 @@ services:
restart: unless-stopped
user: 1337:1337
hostname: Jellyfin
environment: {}
volumes:
- ./config/jellyfin:/config
- cache:/cache
@ -96,9 +95,9 @@ services:
-o directory.default.set=/downloads
-o 'method.set=group.seeding.ratio.command, "d.cloase = ; d.erase = "'
volumes:
- /etc/localtime:/etc/localtime:ro
- ./config/rtorrent:/config
- ./downloads:/downloads
- /etc/localtime:/etc/localtime:ro
- ./proton:/proton
devices:
- /dev/net/tun

View file

@ -1,5 +1,6 @@
services:
jellyfin:
environment: {}
ports:
- 127.0.0.1:1337:8096
radarr:

View file

@ -19,7 +19,7 @@ services:
entrypoint:
- bash
- -c
- /entrypoint.sh php-fpm & while ! echo '' 2> /dev/null > /dev/tcp/127.0.0.1/9000; do sleep 1; done; kill -9 $!; true;
- /entrypoint.sh php-fpm & while ! echo '' 2>/dev/null >/dev/tcp/127.0.0.1/9000; do sleep 1; done; kill -9 $!; true;
db:
image: mariadb:lts
restart: unless-stopped

View file

@ -1,12 +1,12 @@
services:
game:
command:
- /game_settings=MatchSettings/Nations/NationsBlue.txt
environment: {}
ports:
- 2350:2350
- 2350:2350/udp
- 2353:2353
- 2353:2353/udp
command:
- /game_settings=MatchSettings/Nations/NationsBlue.txt
environment: {}
xaseco:
environment: {}

View file

@ -3,10 +3,9 @@ services:
image: vaultwarden/server
restart: unless-stopped
volumes:
- ./data:/data
- /etc/localtime:/etc/localtime:ro
- ./data/vault:/data
environment:
DOMAIN: null
SMTP_HOST: bridge
SMTP_FROM: null
SMTP_FROM_VALUE: vaultwarden
@ -18,8 +17,8 @@ services:
image: mariadb
restart: unless-stopped
volumes:
- ./db:/var/lib/mysql
- /etc/localtime:/etc/localtime:ro
- ./data/db:/var/lib/mysql
environment:
MARIADB_RANDOM_ROOT_PASSWORD: "yes"
bridge:

View file

@ -74,8 +74,8 @@ begin
ENTRY="./data/$name/db:/var/lib/mysql" yq "$dbKey.volumes |= . + [ env(ENTRY) ]" | \
sudo tee "$config" >/dev/null
PORT="127.0.0.1:1337:8000" yq "$ciKey.ports = [ env(PORT) ]" "$tmpOverrides" | \
HOST="https://$domain" yq "$ciEnv.WOODPECKER_HOST = env(HOST)" | \
HOST="https://$domain" yq "$ciEnv.WOODPECKER_HOST = env(HOST)" "$tmpOverrides" | \
PORT="127.0.0.1:1337:8000" yq "$ciKey.ports = [ env(PORT) ]" | \
DB="$dbUser:$pw@tcp($dbName:3306)/$db?parseTime=true" yq "$ciEnv.WOODPECKER_DATABASE_DATASOURCE = env(DB)" | \
USER="$dbUser" yq "$dbEnv.MARIADB_USER = env(USER)" | \
PW="$pw" yq "$dbEnv.MARIADB_PASSWORD = env(PW)" | \