Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 💥 Allow creating multiple instances of app containers #1789

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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
Loading