...
Codeblock | ||
---|---|---|
| ||
database: image: mariadb:10.11 volumes: - db_data:/var/lib/mysql - ./config/mariadb/conf:/etc/mysql/conf.d env_file: - brandbox.docker.env environment: MYSQL_HOST: database.${COMPOSE_PROJECT_NAME} labels: traefik.enable: "false" healthcheck: test: ["CMD", "mysql", "-u", "root", "-proot", "-e", "SELECT version();"] interval: 1m timeout: 10s retries: 3 ports: - "3306" cpus: 0.75 mem_limit: 1000M networks: internal: aliases: - database.${COMPOSE_PROJECT_NAME} volumes: db_data: |
...
Codeblock | ||||
---|---|---|---|---|
| ||||
database: image: mariadb:10.11 volumes: - db_data:/var/lib/mysql - ./config/mariadb/conf:/etc/mysql/conf.d env_file: - brandbox.docker.env environment: MYSQL_HOST: database.${COMPOSE_PROJECT_NAME} entrypoint: /etc/mysql/conf.d/entrypoint.sh # >> Custom-Entrypoint definieren labels: traefik.enable: "false" healthcheck: test: ["CMD", "mysql", "-u", "root", "-proot", "-e", "SELECT version();"] interval: 1m timeout: 10s retries: 3 ports: - "3306" cpus: 0.75 mem_limit: 1000M networks: internal: aliases: - database.${COMPOSE_PROJECT_NAME} |
...