update name docker
All checks were successful
Deployment Verification / deploy-and-test (push) Successful in 45s

This commit is contained in:
Hubert Cornet 2025-01-28 12:07:56 +01:00
parent d8aa7729ae
commit c1a020cdbf

View File

@ -8,37 +8,7 @@ networks:
#### SERVICES #### SERVICES
services: services:
### hello_world librenms-db:
hello_world:
container_name: gitea-app
hostname: gitea-app
image: hello-world
environment:
restart: always
volumes:
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik_front_network"
# HTTP
- "traefik.http.routers.hello-world-http.rule=Host(`hello-world.tips-of-mine.com`)"
- "traefik.http.routers.hello-world-http.entrypoints=http"
- "traefik.http.routers.hello-world-http.priority=49"
# HTTPS
- "traefik.http.routers.hello-world-https.rule=Host(`hello-world.tips-of-mine.com`)"
- "traefik.http.routers.hello-world-https.entrypoints=https"
- "traefik.http.routers.hello-world-https.tls=true"
- "traefik.http.routers.hello-world-https.priority=50"
- "traefik.http.routers.gitea.service=gitea-https-service"
# Middleware
# Service
# - "traefik.http.services.gitea-https-service.loadbalancer.server.port=3000"
# - "traefik.http.services.gitea-https-service.loadbalancer.server.scheme=https"
# - "traefik.http.services.gitea-https-service.loadbalancer.healthcheck.hostname=gitea.traefik.me"
# - "traefik.http.services.gitea-https-service.loadbalancer.healthcheck.method=foobar"
# - "traefik.http.services.gitea-https-service.loadbalancer.healthcheck.timeout=10"
db:
container_name: librenms-db container_name: librenms-db
hostname: librenms-db hostname: librenms-db
image: mariadb:10 image: mariadb:10
@ -61,7 +31,7 @@ services:
- "MYSQL_PASSWORD=${MYSQL_PASSWORD}" - "MYSQL_PASSWORD=${MYSQL_PASSWORD}"
restart: always restart: always
redis: librenms-redis:
container_name: librenms-redis container_name: librenms-redis
hostname: librenms-redis hostname: librenms-redis
image: redis:7.2-alpine image: redis:7.2-alpine
@ -71,7 +41,7 @@ services:
- "TZ=${TZ}" - "TZ=${TZ}"
restart: always restart: always
msmtpd: librenms-msmtpd:
container_name: librenms-msmtpd container_name: librenms-msmtpd
hostname: librenms-msmtpd hostname: librenms-msmtpd
image: crazymax/msmtpd:latest image: crazymax/msmtpd:latest
@ -82,14 +52,14 @@ services:
# - "./msmtpd.env" # - "./msmtpd.env"
restart: always restart: always
librenms: librenms-app:
container_name: librenms-app container_name: librenms-app
hostname: librenms-app hostname: librenms-app
image: librenms/librenms:latest image: librenms/librenms:latest
depends_on: depends_on:
- db - librenms-db
- redis - librenms-redis
- msmtpd - librenms-msmtpd
volumes: volumes:
- "./librenms:/data" - "./librenms:/data"
labels: labels:
@ -122,13 +92,13 @@ services:
- "DB_TIMEOUT=60" - "DB_TIMEOUT=60"
restart: always restart: always
dispatcher: librenms-dispatcher:
container_name: librenms-dispatcher container_name: librenms-dispatcher
hostname: librenms-dispatcher hostname: librenms-dispatcher
image: librenms/librenms:latest image: librenms/librenms:latest
depends_on: depends_on:
- librenms - librenms-app
- redis - librenms-redis
volumes: volumes:
- "./librenms:/data" - "./librenms:/data"
networks: networks:
@ -147,13 +117,13 @@ services:
- "SIDECAR_DISPATCHER=1" - "SIDECAR_DISPATCHER=1"
restart: always restart: always
syslogng: librenms-syslogng:
container_name: librenms-syslog container_name: librenms-syslog
hostname: librenms-syslog hostname: librenms-syslog
image: librenms/librenms:latest image: librenms/librenms:latest
depends_on: depends_on:
- librenms - librenms-app
- redis - librenms-redis
ports: ports:
- target: 514 - target: 514
published: 514 published: 514
@ -175,13 +145,13 @@ services:
- "SIDECAR_SYSLOGNG=1" - "SIDECAR_SYSLOGNG=1"
restart: always restart: always
snmptrapd: librenms-snmptrapd:
container_name: librenms-snmptrapd container_name: librenms-snmptrapd
hostname: librenms-snmptrapd hostname: librenms-snmptrapd
image: librenms/librenms:latest image: librenms/librenms:latest
depends_on: depends_on:
- librenms - librenms-app
- redis - librenms-redis
ports: ports:
- target: 162 - target: 162
published: 162 published: 162