Rename "local-net" to default and fix healthcheck network

This commit is contained in:
Tobias Reisinger 2023-12-11 03:26:12 +01:00
parent c32e305eb3
commit 1d074bf14b
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
9 changed files with 10 additions and 29 deletions

View file

@ -6,12 +6,12 @@ compose_file_main:
labels:
com.centurylinklabs.watchtower.enable: "{{ compose.watchtower | default(false) }}"
networks:
local-net:
default:
apps:
aliases:
- "{{ svc.name }}"
networks:
local-net:
default:
apps:
external: true

View file

@ -27,6 +27,6 @@ compose:
privileged: true
command: "dockerd -H tcp://0.0.0.0:2375 --tls=false"
networks:
local-net:
default:
volumes:
data:

View file

@ -10,6 +10,7 @@ x-common-elements:
- service.env
volumes:
- ./data/:/opt
network_mode: host
services:
http:
@ -21,8 +22,3 @@ services:
mail:
<<: *common-elements
command: "/opt/mail"
networks:
default:
name: healthcheck
external: true

View file

@ -63,7 +63,7 @@ svc_yml:
compose:
watchtower: false
image: influxdb:2
image: influxdb:2.7
volumes:
- ./influxdb.yml:/etc/influxdb2/config.yml
- data:{{ svc.data_dir }}

View file

@ -56,7 +56,7 @@ compose:
- nginx_config:/opt/recipes/nginx/conf.d
- mediafiles:/opt/recipes/mediafiles
networks:
local-net:
default:
volumes:
nginx_config:
staticfiles:

View file

@ -37,7 +37,7 @@ compose:
volumes:
- app:/var/www/html
networks:
local-net:
default:
updater:
image: cthulhoo/ttrss-fpm-pgsql-static
@ -50,7 +50,7 @@ compose:
- tt-rss
command: /opt/tt-rss/updater.sh
networks:
local-net:
default:
volumes:
app:

View file

@ -20,4 +20,4 @@ compose:
labels:
com.centurylinklabs.watchtower.enable: true
networks:
local-net:
default:

View file

@ -50,4 +50,4 @@ compose:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
local-net:
default:

View file

@ -1,15 +0,0 @@
USER_AGENT="healthcheck-bot for serguzim.net"
HTTP_HC_UID=
MATRIX_SERVER="https://matrix.msrg.cc"
MATRIX_SERVER_FEDTESTER="msrg.cc"
MATRIX_HC_UID=
MATRIX_TOKEN=
MATRIX_ROOM=
MAIL_HC_UID=
MAIL_HOST=mail.serguzim.me
MAIL_PORT=587
MAIL_USER=healthcheck@serguzim.me
MAIL_PASS=