Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .bash_aliases.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ alias docdf='sudo docker system df'
alias dclogs='sudo docker logs -tf --tail="50" '
alias fixsecrets='sudo chown -R root:root /path/to/docker/secrets ; sudo chmod -R 600 /path/to/docker/secrets'

# DOCKER TRAEFIK 2
alias dcrun2='cd /path/to/docker ; sudo docker compose -f /path/to/docker/docker compose-t2.yml '
alias dcfulllogs2='cd /path/to/docker ; sudo docker compose -f /path/to/docker/docker compose-t2.yml logs -tf '
alias dclogs2='cd /path/to/docker ; sudo docker compose -f /path/to/docker/docker compose-t2.yml logs -tf --tail="100" '
alias dcup2='dcrun2 up -d'
alias dcdown2='dcrun2 down'
alias dcrec2='dcrun2 up -d --force-recreate'
alias dcbuild2='dcrun2 build --pull --no-cache'
alias dcstop2='dcrun2 stop'
alias dcrestart2='dcrun2 restart '
alias dcpull2='cd /path/to/docker ; sudo docker compose -f /path/to/docker/docker compose-t2.yml pull'
alias dcedit2='cd /path/to/docker ; nano docker compose-t2.yml'
# DOCKER TRAEFIK
alias dcrun='cd /path/to/docker ; sudo docker compose -f /path/to/docker/docker-compose.yml '
alias dcfulllogs='cd /path/to/docker ; sudo docker compose -f /path/to/docker/docker-compose.yml logs -tf '
alias dclogs='cd /path/to/docker ; sudo docker compose -f /path/to/docker/docker-compose.yml logs -tf --tail="100" '
alias dcup='dcrun up -d'
alias dcdown='dcrun down'
alias dcrec='dcrun up -d --force-recreate'
alias dcbuild='dcrun build --pull --no-cache'
alias dcstop='dcrun stop'
alias dcrestart='dcrun restart '
alias dcpull='cd /path/to/docker ; sudo docker compose -f /path/to/docker/docker-compose.yml pull'
alias dcedit='cd /path/to/docker ; nano docker-compose.yml'
16 changes: 9 additions & 7 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,21 @@ WHOAMI_PORT=80
WIREGUARD_CLIENT_PORT=51821
WIREGUARD_PORT=80

##### t2_proxy network IPs
##### traefik_proxy network IPs
## Example values given, can be whatever IPs are desired

## Traefik IPv4
T2_PROXY_GATEWAY=10.123.101.1
T2_PROXY_SUBNET=10.123.101.0/24
# dotenv-linter:off UnorderedKey
TRAEFIK_PROXY_GATEWAY=10.123.101.1
TRAEFIK_PROXY_SUBNET=10.123.101.0/24
TRAEFIK_IPV4=10.123.101.254
# dotenv-linter:on UnorderedKey

## Traefik IPv6
T2_PROXY_IPV6_SUBNET_PREFIX="${SERVER_ULA_PREFIX}:1" # Replace `1` with a randomly generated 2 byte hexadecimal
T2_PROXY_IPV6_SUBNET="${T2_PROXY_IPV6_SUBNET_PREFIX}::/64"
T2_PROXY_IPV6_GATEWAY="${T2_PROXY_IPV6_SUBNET_PREFIX}::1"
TRAEFIK_IPV6="${T2_PROXY_IPV6_SUBNET_PREFIX}:ffff:ffff:ffff:fffe"
TRAEFIK_PROXY_IPV6_SUBNET_PREFIX="${SERVER_ULA_PREFIX}:1" # Replace `1` with a randomly generated 2 byte hexadecimal
TRAEFIK_PROXY_IPV6_SUBNET="${TRAEFIK_PROXY_IPV6_SUBNET_PREFIX}::/64"
TRAEFIK_PROXY_IPV6_GATEWAY="${TRAEFIK_PROXY_IPV6_SUBNET_PREFIX}::1"
TRAEFIK_IPV6="${TRAEFIK_PROXY_IPV6_SUBNET_PREFIX}:ffff:ffff:ffff:fffe"

## Other IPs
BAZARR_IPV4=10.123.101.101
Expand Down
2 changes: 1 addition & 1 deletion appdata/authentik/config/ak-outpost-ldap-conf.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ docker_labels:
traefik.http.services.ak-outpost-ldap-healthcheck-svc.loadbalancer.healthcheck.path: /outpost.goauthentik.io/ping
traefik.http.services.ak-outpost-ldap-healthcheck-svc.loadbalancer.healthcheck.port: "<AUTHENTIK_LDAP_HEALTHCHECK_PORT>" # Likely 9300
authentik_host: https://authentik.<DOMAINNAME0>/
docker_network: t2_proxy
docker_network: traefik_proxy
container_image: null
docker_map_ports: false
authentik_host_browser: ""
Expand Down
2 changes: 1 addition & 1 deletion backup-scripts/borg-patternfile.example.lst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ R /home/<USER>/docker
+ /home/<USER>/docker/.env
- /home/<USER>/docker/.env.example
- /home/<USER>/docker/.gitignore
+ /home/<USER>/docker/docker-compose-t2.yml
+ /home/<USER>/docker/docker-compose.yml
- /home/<USER>/docker/LICENSE
- /home/<USER>/docker/README.md

Expand Down
2 changes: 1 addition & 1 deletion compose/adminer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
container_name: adminer
image: adminer:latest
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion compose/audiobookshelf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
image: ghcr.io/advplyr/audiobookshelf:latest
container_name: audiobookshelf
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion compose/authelia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
## https://github.com/authelia/authelia#breaking-changes
image: ghcr.io/authelia/authelia:4.38
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: always
Expand Down
4 changes: 2 additions & 2 deletions compose/authentik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
container_name: authentik
image: ghcr.io/goauthentik/server:latest
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: always
Expand Down Expand Up @@ -99,7 +99,7 @@ services:
container_name: authentik-worker
image: ghcr.io/goauthentik/server:latest
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: always
Expand Down
2 changes: 1 addition & 1 deletion compose/bazarr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
image: lscr.io/linuxserver/bazarr
container_name: bazarr
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
4 changes: 2 additions & 2 deletions compose/bluebubbles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
image: sickcodes/docker-osx:ventura
container_name: bluebubbles-setup
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:false
restart: unless-stopped
Expand Down Expand Up @@ -36,7 +36,7 @@ services:
image: sickcodes/docker-osx:naked
container_name: bluebubbles
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:false
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion compose/calibre-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
image: lscr.io/linuxserver/calibre-web:latest
container_name: calibre-web
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion compose/calibre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
image: lscr.io/linuxserver/calibre:latest
container_name: calibre
networks:
- t2_proxy
- traefik_proxy
security_opt:
## Required for some setups
- seccomp:unconfined
Expand Down
2 changes: 1 addition & 1 deletion compose/dozzle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
image: amir20/dozzle:latest
container_name: dozzle
networks:
- t2_proxy
- traefik_proxy
- socket_proxy
security_opt:
- no-new-privileges:true
Expand Down
2 changes: 1 addition & 1 deletion compose/duckdns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
image: lscr.io/linuxserver/duckdns:latest
container_name: duckdns
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: always
Expand Down
2 changes: 1 addition & 1 deletion compose/dupeguru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
image: jlesage/dupeguru:latest
container_name: dupeguru
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion compose/filebrowser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
image: filebrowser/filebrowser:s6
container_name: filebrowser
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
4 changes: 2 additions & 2 deletions compose/firefly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
container_name: firefly
image: fireflyiii/core:latest
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down Expand Up @@ -170,7 +170,7 @@ services:
container_name: importer
image: fireflyiii/data-importer:latest
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion compose/flaresolverr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
image: ghcr.io/flaresolverr/flaresolverr:latest
container_name: flaresolverr
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion compose/glances.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
container_name: glances
privileged: true
networks:
- t2_proxy
- traefik_proxy
- socket_proxy
security_opt:
- no-new-privileges:true
Expand Down
2 changes: 1 addition & 1 deletion compose/gluetun-private.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
networks:
gluetun_net:
ipv4_address: $GLUETUN_PRIVATE_IPV4
t2_proxy:
traefik_proxy:
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion compose/gluetun-temp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
networks:
gluetun_net:
ipv4_address: $GLUETUN_TEMP_IPV4
t2_proxy:
traefik_proxy:
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion compose/gotify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
container_name: gotify
image: gotify/server:latest
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
4 changes: 2 additions & 2 deletions compose/guacamole.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
image: guacamole/guacamole:latest
container_name: guacamole
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: always
Expand Down Expand Up @@ -53,7 +53,7 @@ services:
image: guacamole/guacd:latest
container_name: guacd
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: always
2 changes: 1 addition & 1 deletion compose/handbrake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
image: jlesage/handbrake:latest
container_name: handbrake
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion compose/heimdall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
image: lscr.io/linuxserver/heimdall
container_name: heimdall
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion compose/jellyfin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
image: jellyfin/jellyfin:latest
container_name: jellyfin
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion compose/keycloak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
keycloak:
container_name: keycloak
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: always
Expand Down
2 changes: 1 addition & 1 deletion compose/lidarr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
image: lscr.io/linuxserver/lidarr:latest
container_name: lidarr
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion compose/maintainerr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
image: ghcr.io/jorenn92/maintainerr:latest
container_name: maintainerr
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion compose/mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
container_name: mariadb
image: lscr.io/linuxserver/mariadb:latest
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: always
Expand Down
2 changes: 1 addition & 1 deletion compose/minecraft-rcon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
image: itzg/rcon:latest
container_name: minecraft-rcon
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion compose/minecraft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ services:
# AUTOPAUSE_PERIOD: 10
## See https://github.com/itzg/docker-minecraft-server/blob/master/README.md#enabling-autopause
# AUTOPAUSE_KNOCK_INTERFACE: eth0
## enp4s0, eth0, lo, eno1, docker0, br-ab276aa20945, br-4d480c1adff5, t2_proxy
## enp4s0, eth0, lo, eno1, docker0, br-ab276aa20945, br-4d480c1adff5, traefik_proxy
# labels:
# - "traefik.enable=true"
# ## HTTP Routers
Expand Down
4 changes: 2 additions & 2 deletions compose/nextcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
container_name: nextcloud
image: nextcloud:29
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down Expand Up @@ -61,7 +61,7 @@ services:
MAIL_FROM_ADDRESS: admin@drive.$DOMAINNAME0
# MAIL_DOMAIN:
NEXTCLOUD_TRUSTED_DOMAINS: drive.$DOMAINNAME0
TRUSTED_PROXIES: $T2_PROXY_SUBNET
TRUSTED_PROXIES: $TRAEFIK_PROXY_SUBNET
secrets:
- nextcloud_admin_user
- nextcloud_admin_password
Expand Down
2 changes: 1 addition & 1 deletion compose/ombi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
image: lscr.io/linuxserver/ombi:latest
container_name: ombi
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion compose/organizr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
image: organizr/organizr
container_name: organizr
networks:
- t2_proxy
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
Expand Down
Loading