christianlempa-boilerplates/docker-compose/mariadb/compose.yaml
Christoph Schug 973c98fb44 chore(deps): remove obsolete comment
Remove comment which applied before we were switching to using Renovate.
2024-12-25 16:53:10 +01:00

29 lines
848 B
YAML

---
# (Optional) when using custom network
# networks:
# yournetwork:
# external: true
volumes:
mariadb-data:
services:
mariadb:
image: docker.io/library/mariadb:11.6.2
# (Optional) remove this section when you don't want to expose
ports:
- 3306:3306
environment:
# (Optional) remove this section, when using random, or empty root password
- MARIADB_ROOT_PASSWORD=your-root-password
# (Optional) when using random, or empty root password
# - MARIADB_RANDOM_ROOT_PASSWORD=true
# - MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=true
- MARIADB_DATABASE=your-database
- MARIADB_USER=your-user
- MARIADB_PASSWORD=your-password
volumes:
- mariadb-data:/var/lib/mysql
# (Optional) when using custom network
# networks:
# - yournetwork
restart: unless-stopped