remove database from mort's compose

This commit is contained in:
steve 2024-07-27 01:57:20 +00:00
parent 87e95bc61d
commit 6de50c8ccf

View File

@ -60,46 +60,8 @@ services:
labels: labels:
- "traefik.enabled=false" - "traefik.enabled=false"
mariadb:
image: mariadb
restart: always
container_name: mariadb
environment:
MARIADB_ROOT_PASSWORD: ${MARIADB_ROOT_PASSWORD}
ports:
- 3306:3306/tcp
volumes:
- mariadb_data:/var/lib/mysql
networks:
- default
adminer:
image: adminer
restart: always
container_name: adminer
environment:
- DOMAIN_ROOT=${DOMAIN_ROOT}
labels:
- "traefik.enable=true"
- "traefik.http.routers.adminer.rule=Host(`adminer.${DOMAIN_ROOT}`)"
- "traefik.http.services.adminer.loadbalancer.server.port=8080"
- 'traefik.http.routers.adminer.middlewares=authelia@docker'
networks:
- web
- default
networks: networks:
web: web:
external: true external: true
volumes:
mariadb_data:
external: true