fix: Remove hostnames from docker-compose configs #76

Merged
carsten merged 1 commit from remove-hostnames into main 2024-09-30 17:27:31 +02:00
15 changed files with 0 additions and 18 deletions

View file

@ -7,7 +7,6 @@ services:
image: ghcr.io/actualbudget/actual-server:24.9.0-alpine image: ghcr.io/actualbudget/actual-server:24.9.0-alpine
container_name: actualbudget container_name: actualbudget
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: money
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
volumes: volumes:
- ${BASE_DIR:-/srv}/actualbudget/data:/data - ${BASE_DIR:-/srv}/actualbudget/data:/data

View file

@ -24,7 +24,6 @@ services:
image: ghcr.io/goauthentik/server:2024.8 image: ghcr.io/goauthentik/server:2024.8
container_name: authentik container_name: authentik
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: auth
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
command: server command: server
environment: environment:

View file

@ -8,7 +8,6 @@ services:
image: lscr.io/linuxserver/fail2ban image: lscr.io/linuxserver/fail2ban
container_name: fail2ban container_name: fail2ban
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: fail2ban
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN

View file

@ -17,7 +17,6 @@ services:
image: codeberg.org/forgejo/forgejo:8.0 image: codeberg.org/forgejo/forgejo:8.0
container_name: forgejo container_name: forgejo
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: git
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
environment: environment:
- USER_UID=1000 - USER_UID=1000

View file

@ -7,7 +7,6 @@ services:
image: ghcr.io/imagegenius/amp:2.5.1-ubuntu image: ghcr.io/imagegenius/amp:2.5.1-ubuntu
container_name: games container_name: games
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: games
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
mac_address: 02:42:AC:D7:11:9C # Please see the README about this field. mac_address: 02:42:AC:D7:11:9C # Please see the README about this field.
labels: labels:

View file

@ -16,7 +16,6 @@ services:
image: quay.io/hedgedoc/hedgedoc:1.10.0-alpine image: quay.io/hedgedoc/hedgedoc:1.10.0-alpine
container_name: hedgedoc container_name: hedgedoc
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: md
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
environment: environment:
- NODE_ENV=production - NODE_ENV=production

View file

@ -3,7 +3,6 @@ services:
image: git.csprung.de/carsten/homepage image: git.csprung.de/carsten/homepage
container_name: homepage container_name: homepage
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: homepage
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
networks: networks:
- proxy - proxy

View file

@ -20,7 +20,6 @@ services:
image: mailserver/docker-mailserver:14 image: mailserver/docker-mailserver:14
container_name: mail container_name: mail
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: post
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
cap_add: cap_add:
- NET_ADMIN # For Fail2Ban to work - NET_ADMIN # For Fail2Ban to work

View file

@ -16,7 +16,6 @@ services:
image: ghcr.io/element-hq/synapse:v1.115.0 image: ghcr.io/element-hq/synapse:v1.115.0
container_name: matrix container_name: matrix
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: matrix
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
environment: environment:
- SYNAPSE_CONFIG_DIR=/config - SYNAPSE_CONFIG_DIR=/config

View file

@ -23,7 +23,6 @@ services:
image: nextcloud:30 image: nextcloud:30
container_name: nextcloud container_name: nextcloud
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: cloud
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
environment: environment:
- APACHE_DISABLE_REWRITE_IP=1 - APACHE_DISABLE_REWRITE_IP=1
@ -91,7 +90,6 @@ services:
image: ghcr.io/processone/eturnal:1.12 image: ghcr.io/processone/eturnal:1.12
container_name: eturnal container_name: eturnal
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: eturnal
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
user: 9000:9000 user: 9000:9000
read_only: true read_only: true

View file

@ -12,7 +12,6 @@ services:
image: caddy:2-alpine image: caddy:2-alpine
container_name: proxy container_name: proxy
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: ${BASE_DOMAIN}
environment: environment:
- BASE_DOMAIN=${BASE_DOMAIN} - BASE_DOMAIN=${BASE_DOMAIN}
- SECOND_MAIL_DOMAIN=${SECOND_MAIL_DOMAIN} - SECOND_MAIL_DOMAIN=${SECOND_MAIL_DOMAIN}
@ -39,7 +38,6 @@ services:
image: jwilder/whoami image: jwilder/whoami
container_name: echo container_name: echo
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: echo
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
networks: networks:
- proxy - proxy

View file

@ -12,7 +12,6 @@ services:
image: ghcr.io/dani-garcia/vaultwarden:1.32.0-alpine image: ghcr.io/dani-garcia/vaultwarden:1.32.0-alpine
container_name: vaultwarden container_name: vaultwarden
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: vaultwarden
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
environment: environment:
- DOMAIN=https://passwords.${BASE_DOMAIN} - DOMAIN=https://passwords.${BASE_DOMAIN}

View file

@ -8,7 +8,6 @@ services:
image: containrrr/watchtower image: containrrr/watchtower
container_name: watchtower container_name: watchtower
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: watchtower
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
environment: environment:
- TZ=${TIMEZONE} - TZ=${TIMEZONE}

View file

@ -11,7 +11,6 @@ services:
image: lscr.io/linuxserver/wireguard:latest image: lscr.io/linuxserver/wireguard:latest
container_name: wireguard container_name: wireguard
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: vpn
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN

View file

@ -15,7 +15,6 @@ services:
image: woodpeckerci/woodpecker-server:v2.7.1-alpine image: woodpeckerci/woodpecker-server:v2.7.1-alpine
container_name: woodpecker container_name: woodpecker
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: ci
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
environment: environment:
- WOODPECKER_HOST=https://ci.${BASE_DOMAIN} - WOODPECKER_HOST=https://ci.${BASE_DOMAIN}
@ -45,7 +44,6 @@ services:
command: agent command: agent
container_name: woodpecker-agent container_name: woodpecker-agent
restart: "${RESTART:-no}" restart: "${RESTART:-no}"
hostname: runner
domainname: ${BASE_DOMAIN} domainname: ${BASE_DOMAIN}
environment: environment:
- WOODPECKER_SERVER=woodpecker:9000 - WOODPECKER_SERVER=woodpecker:9000