Skip to content

Commit

Permalink
Merge pull request #1788 from CLHatch/multi-instance
Browse files Browse the repository at this point in the history
feat: 💥 Allow creating multiple instances of app containers
  • Loading branch information
CLHatch authored Sep 18, 2024
2 parents 5737b6b + 2ce0341 commit e615f6b
Show file tree
Hide file tree
Showing 1,151 changed files with 4,500 additions and 4,500 deletions.
4 changes: 2 additions & 2 deletions compose/.apps/adguard/adguard.aarch64.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
adguard:
image: adguard/adguardhome:${ADGUARD_TAG}
${_appname_}:
image: adguard/adguardhome:${${_APPNAME_}_TAG}
2 changes: 1 addition & 1 deletion compose/.apps/adguard/adguard.hostname.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
adguard:
${_appname_}:
hostname: ${DOCKER_HOSTNAME}
28 changes: 14 additions & 14 deletions compose/.apps/adguard/adguard.labels.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
services:
adguard:
${_appname_}:
labels:
com.dockstarter.appinfo.deprecated: "false"
com.dockstarter.appinfo.description: "Network-wide ads & trackers blocking DNS server"
com.dockstarter.appinfo.nicename: "Adguard"
com.dockstarter.appvars.adguard_container_name: "adguard"
com.dockstarter.appvars.adguard_enabled: "false"
com.dockstarter.appvars.adguard_environment_serverip: "0.0.0.0"
com.dockstarter.appvars.adguard_network_mode: ""
com.dockstarter.appvars.adguard_port_3000: "3000"
com.dockstarter.appvars.adguard_port_443: "446"
com.dockstarter.appvars.adguard_port_53: "53"
com.dockstarter.appvars.adguard_port_67: "67"
com.dockstarter.appvars.adguard_port_68: "68"
com.dockstarter.appvars.adguard_port_80: "8008"
com.dockstarter.appvars.adguard_port_853: "853"
com.dockstarter.appvars.adguard_restart: "unless-stopped"
com.dockstarter.appvars.adguard_tag: "latest"
com.dockstarter.appvars.${_appname_}_container_name: "${_appname_}"
com.dockstarter.appvars.${_appname_}_enabled: "false"
com.dockstarter.appvars.${_appname_}_environment_serverip: "0.0.0.0"
com.dockstarter.appvars.${_appname_}_network_mode: ""
com.dockstarter.appvars.${_appname_}_port_3000: "3000"
com.dockstarter.appvars.${_appname_}_port_443: "446"
com.dockstarter.appvars.${_appname_}_port_53: "53"
com.dockstarter.appvars.${_appname_}_port_67: "67"
com.dockstarter.appvars.${_appname_}_port_68: "68"
com.dockstarter.appvars.${_appname_}_port_80: "8008"
com.dockstarter.appvars.${_appname_}_port_853: "853"
com.dockstarter.appvars.${_appname_}_restart: "unless-stopped"
com.dockstarter.appvars.${_appname_}_tag: "latest"
4 changes: 2 additions & 2 deletions compose/.apps/adguard/adguard.netmode.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
adguard:
network_mode: ${ADGUARD_NETWORK_MODE}
${_appname_}:
network_mode: ${${_APPNAME_}_NETWORK_MODE}
20 changes: 10 additions & 10 deletions compose/.apps/adguard/adguard.ports.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
services:
adguard:
${_appname_}:
ports:
- ${ADGUARD_PORT_3000}:3000
- ${ADGUARD_PORT_443}:443
- ${ADGUARD_PORT_80}:80
- ${ADGUARD_PORT_853}:853
- ${ADGUARD_ENVIRONMENT_SERVERIP}:${ADGUARD_PORT_53}:53
- ${ADGUARD_ENVIRONMENT_SERVERIP}:${ADGUARD_PORT_53}:53/udp
- ${ADGUARD_ENVIRONMENT_SERVERIP}:${ADGUARD_PORT_67}:67/udp
- ${ADGUARD_ENVIRONMENT_SERVERIP}:${ADGUARD_PORT_68}:68
- ${ADGUARD_ENVIRONMENT_SERVERIP}:${ADGUARD_PORT_68}:68/udp
- ${${_APPNAME_}_PORT_3000}:3000
- ${${_APPNAME_}_PORT_443}:443
- ${${_APPNAME_}_PORT_80}:80
- ${${_APPNAME_}_PORT_853}:853
- ${${_APPNAME_}_ENVIRONMENT_SERVERIP}:${${_APPNAME_}_PORT_53}:53
- ${${_APPNAME_}_ENVIRONMENT_SERVERIP}:${${_APPNAME_}_PORT_53}:53/udp
- ${${_APPNAME_}_ENVIRONMENT_SERVERIP}:${${_APPNAME_}_67}:67/udp
- ${${_APPNAME_}_ENVIRONMENT_SERVERIP}:${${_APPNAME_}_PORT_68}:68
- ${${_APPNAME_}_ENVIRONMENT_SERVERIP}:${${_APPNAME_}_PORT_68}:68/udp
4 changes: 2 additions & 2 deletions compose/.apps/adguard/adguard.x86_64.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
adguard:
image: adguard/adguardhome:${ADGUARD_TAG}
${_appname_}:
image: adguard/adguardhome:${${_APPNAME_}_TAG}
10 changes: 5 additions & 5 deletions compose/.apps/adguard/adguard.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
services:
adguard:
container_name: ${ADGUARD_CONTAINER_NAME}
${_appname_}:
container_name: ${${_APPNAME_}_CONTAINER_NAME}
environment:
- TZ=${TZ}
restart: ${ADGUARD_RESTART}
restart: ${${_APPNAME_}_RESTART}
volumes:
- /etc/localtime:/etc/localtime:ro
- ${DOCKER_VOLUME_CONFIG}/adguard/work:/opt/adguardhome/work
- ${DOCKER_VOLUME_CONFIG}/adguard/conf:/opt/adguardhome/conf
- ${DOCKER_VOLUME_CONFIG}/${_appname_}/work:/opt/adguardhome/work
- ${DOCKER_VOLUME_CONFIG}/${_appname_}/conf:/opt/adguardhome/conf
- ${DOCKER_VOLUME_STORAGE}:/storage
4 changes: 2 additions & 2 deletions compose/.apps/adminer/adminer.aarch64.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
adminer:
image: adminer:${ADMINER_TAG}
${_appname_}:
image: adminer:${${_APPNAME_}_TAG}
2 changes: 1 addition & 1 deletion compose/.apps/adminer/adminer.hostname.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
adminer:
${_appname_}:
hostname: ${DOCKER_HOSTNAME}
18 changes: 9 additions & 9 deletions compose/.apps/adminer/adminer.labels.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
services:
adminer:
${_appname_}:
labels:
com.dockstarter.appinfo.deprecated: "false"
com.dockstarter.appinfo.description: "A full-featured database management tool"
com.dockstarter.appinfo.nicename: "adminer"
com.dockstarter.appvars.adminer_container_name: "adminer"
com.dockstarter.appvars.adminer_enabled: "false"
com.dockstarter.appvars.adminer_environment_design: ""
com.dockstarter.appvars.adminer_environment_plugins: ""
com.dockstarter.appvars.adminer_network_mode: ""
com.dockstarter.appvars.adminer_port_8080: "8080"
com.dockstarter.appvars.adminer_restart: "unless-stopped"
com.dockstarter.appvars.adminer_tag: "latest"
com.dockstarter.appvars.${_appname_}_container_name: "${_appname_}"
com.dockstarter.appvars.${_appname_}_enabled: "false"
com.dockstarter.appvars.${_appname_}_environment_design: ""
com.dockstarter.appvars.${_appname_}_environment_plugins: ""
com.dockstarter.appvars.${_appname_}_network_mode: ""
com.dockstarter.appvars.${_appname_}_port_8080: "8080"
com.dockstarter.appvars.${_appname_}_restart: "unless-stopped"
com.dockstarter.appvars.${_appname_}_tag: "latest"
4 changes: 2 additions & 2 deletions compose/.apps/adminer/adminer.netmode.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
adminer:
network_mode: ${ADMINER_NETWORK_MODE}
${_appname_}:
network_mode: ${${_APPNAME_}_NETWORK_MODE}
4 changes: 2 additions & 2 deletions compose/.apps/adminer/adminer.ports.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
services:
adminer:
${_appname_}:
ports:
- ${ADMINER_PORT_8080}:8080
- ${${_APPNAME_}_PORT_8080}:8080
4 changes: 2 additions & 2 deletions compose/.apps/adminer/adminer.x86_64.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
adminer:
image: adminer:${ADMINER_TAG}
${_appname_}:
image: adminer:${${_APPNAME_}_TAG}
12 changes: 6 additions & 6 deletions compose/.apps/adminer/adminer.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
services:
adminer:
container_name: ${ADMINER_CONTAINER_NAME}
${_appname_}:
container_name: ${${_APPNAME_}_CONTAINER_NAME}
environment:
- ADMINER_DESIGN=${ADMINER_ENVIRONMENT_DESIGN}
- ADMINER_PLUGINS=${ADMINER_ENVIRONMENT_PLUGINS}
- ADMINER_DESIGN=${${_APPNAME_}_ENVIRONMENT_DESIGN}
- ADMINER_PLUGINS=${${_APPNAME_}_ENVIRONMENT_PLUGINS}
- TZ=${TZ}
restart: ${ADMINER_RESTART}
restart: ${${_APPNAME_}_RESTART}
volumes:
- /etc/localtime:/etc/localtime:ro
- ${DOCKER_VOLUME_CONFIG}/adminer:/sessions
- ${DOCKER_VOLUME_CONFIG}/${_appname_}:/sessions
- ${DOCKER_VOLUME_STORAGE}:/storage
2 changes: 1 addition & 1 deletion compose/.apps/airdcpp/airdcpp.hostname.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
airdcpp:
${_appname_}:
hostname: ${DOCKER_HOSTNAME}
22 changes: 11 additions & 11 deletions compose/.apps/airdcpp/airdcpp.labels.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
services:
airdcpp:
${_appname_}:
labels:
com.dockstarter.appinfo.deprecated: "true"
com.dockstarter.appinfo.description: "(DEPRECATED) No replacement"
com.dockstarter.appinfo.nicename: "AirdcPP"
com.dockstarter.appvars.airdcpp_container_name: "airdcpp"
com.dockstarter.appvars.airdcpp_enabled: "false"
com.dockstarter.appvars.airdcpp_network_mode: ""
com.dockstarter.appvars.airdcpp_port_21248: "21248"
com.dockstarter.appvars.airdcpp_port_21249: "21249"
com.dockstarter.appvars.airdcpp_port_5600: "5600"
com.dockstarter.appvars.airdcpp_port_5601: "5601"
com.dockstarter.appvars.airdcpp_restart: "unless-stopped"
com.dockstarter.appvars.airdcpp_tag: "latest"
com.dockstarter.appvars.airdcpp_volume_sharedir: "/mnt/airdcpp"
com.dockstarter.appvars.${_appname_}_container_name: "${_appname_}"
com.dockstarter.appvars.${_appname_}_enabled: "false"
com.dockstarter.appvars.${_appname_}_network_mode: ""
com.dockstarter.appvars.${_appname_}_port_21248: "21248"
com.dockstarter.appvars.${_appname_}_port_21249: "21249"
com.dockstarter.appvars.${_appname_}_port_5600: "5600"
com.dockstarter.appvars.${_appname_}_port_5601: "5601"
com.dockstarter.appvars.${_appname_}_restart: "unless-stopped"
com.dockstarter.appvars.${_appname_}_tag: "latest"
com.dockstarter.appvars.${_appname_}_volume_sharedir: "/mnt/airdcpp"
4 changes: 2 additions & 2 deletions compose/.apps/airdcpp/airdcpp.netmode.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
airdcpp:
network_mode: ${AIRDCPP_NETWORK_MODE}
${_appname_}:
network_mode: ${${_APPNAME_}_NETWORK_MODE}
12 changes: 6 additions & 6 deletions compose/.apps/airdcpp/airdcpp.ports.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
services:
airdcpp:
${_appname_}:
ports:
- ${AIRDCPP_PORT_21248}:21248
- ${AIRDCPP_PORT_21248}:21248/udp
- ${AIRDCPP_PORT_21249}:21249
- ${AIRDCPP_PORT_5600}:5600
- ${AIRDCPP_PORT_5601}:5601
- ${${_APPNAME_}_PORT_21248}:21248
- ${${_APPNAME_}_PORT_21248}:21248/udp
- ${${_APPNAME_}_PORT_21249}:21249
- ${${_APPNAME_}_PORT_5600}:5600
- ${${_APPNAME_}_PORT_5601}:5601
4 changes: 2 additions & 2 deletions compose/.apps/airdcpp/airdcpp.x86_64.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
airdcpp:
image: gangefors/airdcpp-webclient:${AIRDCPP_TAG}
${_appname_}:
image: gangefors/airdcpp-webclient:${${_APPNAME_}_TAG}
20 changes: 10 additions & 10 deletions compose/.apps/airdcpp/airdcpp.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
services:
airdcpp:
container_name: ${AIRDCPP_CONTAINER_NAME}
${_appname_}:
container_name: ${${_APPNAME_}_CONTAINER_NAME}
environment:
- HTTP_PORT=${AIRDCPP_PORT_5600}
- HTTPS_PORT=${AIRDCPP_PORT_5601}
- HTTP_PORT=${${_APPNAME_}_PORT_5600}
- HTTPS_PORT=${${_APPNAME_}_PORT_5601}
- PGID=${PGID}
- PUID=${PUID}
- TCP_PORT=${AIRDCPP_PORT_21248}
- TLS_PORT=${AIRDCPP_PORT_21249}
- TCP_PORT=${${_APPNAME_}_PORT_21248}
- TLS_PORT=${${_APPNAME_}_PORT_21249}
- TZ=${TZ}
- UDP_PORT=${AIRDCPP_PORT_21248}
restart: ${AIRDCPP_RESTART}
- UDP_PORT=${${_APPNAME_}_PORT_21248}
restart: ${${_APPNAME_}_RESTART}
volumes:
- /etc/localtime:/etc/localtime:ro
- ${AIRDCPP_VOLUME_SHAREDIR}:/Share
- ${DOCKER_VOLUME_CONFIG}/airdcpp:/.airdcpp
- ${${_APPNAME_}_VOLUME_SHAREDIR}:/Share
- ${DOCKER_VOLUME_CONFIG}/${_appname_}:/.airdcpp
- ${DOCKER_VOLUME_STORAGE}:/storage
4 changes: 2 additions & 2 deletions compose/.apps/airsonic/airsonic.aarch64.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
airsonic:
image: lscr.io/linuxserver/airsonic:${AIRSONIC_TAG}
${_appname_}:
image: lscr.io/linuxserver/airsonic:${${_APPNAME_}_TAG}
2 changes: 1 addition & 1 deletion compose/.apps/airsonic/airsonic.hostname.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
airsonic:
${_appname_}:
hostname: ${DOCKER_HOSTNAME}
18 changes: 9 additions & 9 deletions compose/.apps/airsonic/airsonic.labels.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
services:
airsonic:
${_appname_}:
labels:
com.dockstarter.appinfo.deprecated: "true"
com.dockstarter.appinfo.description: "(DEPRECATED) Use AirsonicAdvanced"
com.dockstarter.appinfo.nicename: "Airsonic"
com.dockstarter.appvars.airsonic_container_name: "airsonic"
com.dockstarter.appvars.airsonic_enabled: "false"
com.dockstarter.appvars.airsonic_environment_context_path: "/airsonic"
com.dockstarter.appvars.airsonic_environment_java_opts: ""
com.dockstarter.appvars.airsonic_network_mode: ""
com.dockstarter.appvars.airsonic_port_4040: "4040"
com.dockstarter.appvars.airsonic_restart: "unless-stopped"
com.dockstarter.appvars.airsonic_tag: "latest"
com.dockstarter.appvars.${_appname_}_container_name: "${_appname_}"
com.dockstarter.appvars.${_appname_}_enabled: "false"
com.dockstarter.appvars.${_appname_}_environment_context_path: "/airsonic"
com.dockstarter.appvars.${_appname_}_environment_java_opts: ""
com.dockstarter.appvars.${_appname_}_network_mode: ""
com.dockstarter.appvars.${_appname_}_port_4040: "4040"
com.dockstarter.appvars.${_appname_}_restart: "unless-stopped"
com.dockstarter.appvars.${_appname_}_tag: "latest"
4 changes: 2 additions & 2 deletions compose/.apps/airsonic/airsonic.netmode.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
airsonic:
network_mode: ${AIRSONIC_NETWORK_MODE}
${_appname_}:
network_mode: ${${_APPNAME_}_NETWORK_MODE}
4 changes: 2 additions & 2 deletions compose/.apps/airsonic/airsonic.ports.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
services:
airsonic:
${_appname_}:
ports:
- ${AIRSONIC_PORT_4040}:4040
- ${${_APPNAME_}_PORT_4040}:4040
4 changes: 2 additions & 2 deletions compose/.apps/airsonic/airsonic.x86_64.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
airsonic:
image: lscr.io/linuxserver/airsonic:${AIRSONIC_TAG}
${_appname_}:
image: lscr.io/linuxserver/airsonic:${${_APPNAME_}_TAG}
12 changes: 6 additions & 6 deletions compose/.apps/airsonic/airsonic.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
services:
airsonic:
container_name: ${AIRSONIC_CONTAINER_NAME}
${_appname_}:
container_name: ${${_APPNAME_}_CONTAINER_NAME}
environment:
- CONTEXT_PATH=${AIRSONIC_ENVIRONMENT_CONTEXT_PATH}
- JAVA_OPTS=${AIRSONIC_ENVIRONMENT_JAVA_OPTS}
- CONTEXT_PATH=${${_APPNAME_}_ENVIRONMENT_CONTEXT_PATH}
- JAVA_OPTS=${${_APPNAME_}_ENVIRONMENT_JAVA_OPTS}
- PGID=${PGID}
- PUID=${PUID}
- TZ=${TZ}
restart: ${AIRSONIC_RESTART}
restart: ${${_APPNAME_}_RESTART}
volumes:
- /etc/localtime:/etc/localtime:ro
- ${DOCKER_VOLUME_CONFIG}/airsonic:/config
- ${DOCKER_VOLUME_CONFIG}/${_appname_}:/config
- ${DOCKER_VOLUME_STORAGE}:/storage
4 changes: 2 additions & 2 deletions compose/.apps/airsonicadvanced/airsonicadvanced.aarch64.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
airsonicadvanced:
image: lscr.io/linuxserver/airsonic-advanced:${AIRSONICADVANCED_TAG}
${_appname_}:
image: lscr.io/linuxserver/airsonic-advanced:${${_APPNAME_}_TAG}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
airsonicadvanced:
${_appname_}:
hostname: ${DOCKER_HOSTNAME}
18 changes: 9 additions & 9 deletions compose/.apps/airsonicadvanced/airsonicadvanced.labels.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
services:
airsonicadvanced:
${_appname_}:
labels:
com.dockstarter.appinfo.deprecated: "false"
com.dockstarter.appinfo.description: "Web-based media streamer providing ubiquitous access to your music"
com.dockstarter.appinfo.nicename: "AirsonicAdvanced"
com.dockstarter.appvars.airsonicadvanced_container_name: "airsonicadvanced"
com.dockstarter.appvars.airsonicadvanced_enabled: "false"
com.dockstarter.appvars.airsonicadvanced_environment_context_path: "/airsonic"
com.dockstarter.appvars.airsonicadvanced_environment_java_opts: ""
com.dockstarter.appvars.airsonicadvanced_network_mode: ""
com.dockstarter.appvars.airsonicadvanced_port_4040: "4040"
com.dockstarter.appvars.airsonicadvanced_restart: "unless-stopped"
com.dockstarter.appvars.airsonicadvanced_tag: "latest"
com.dockstarter.appvars.${_appname_}_container_name: "${_appname_}"
com.dockstarter.appvars.${_appname_}_enabled: "false"
com.dockstarter.appvars.${_appname_}_environment_context_path: "/airsonic"
com.dockstarter.appvars.${_appname_}_environment_java_opts: ""
com.dockstarter.appvars.${_appname_}_network_mode: ""
com.dockstarter.appvars.${_appname_}_port_4040: "4040"
com.dockstarter.appvars.${_appname_}_restart: "unless-stopped"
com.dockstarter.appvars.${_appname_}_tag: "latest"
4 changes: 2 additions & 2 deletions compose/.apps/airsonicadvanced/airsonicadvanced.netmode.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
airsonicadvanced:
network_mode: ${AIRSONICADVANCED_NETWORK_MODE}
${_appname_}:
network_mode: ${${_APPNAME_}_NETWORK_MODE}
4 changes: 2 additions & 2 deletions compose/.apps/airsonicadvanced/airsonicadvanced.ports.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
services:
airsonicadvanced:
${_appname_}:
ports:
- ${AIRSONICADVANCED_PORT_4040}:4040
- ${${_APPNAME_}_PORT_4040}:4040
4 changes: 2 additions & 2 deletions compose/.apps/airsonicadvanced/airsonicadvanced.x86_64.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
services:
airsonicadvanced:
image: lscr.io/linuxserver/airsonic-advanced:${AIRSONICADVANCED_TAG}
${_appname_}:
image: lscr.io/linuxserver/airsonic-advanced:${${_APPNAME_}_TAG}
Loading

0 comments on commit e615f6b

Please sign in to comment.