mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 21:38:58 +00:00
18 lines
490 B
YAML
18 lines
490 B
YAML
services:
|
|
database:
|
|
image: nginx
|
|
environment:
|
|
- BACKUP_HEARTBEAT_URL=${DB_BACKUP_HEARTBEAT_URL}
|
|
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
|
volumes:
|
|
- type: bind
|
|
source: ${VOLUMES_PATH}/mysql
|
|
target: /var/lib/mysql
|
|
# noinspection ComposeUnknownKeys
|
|
is_directory: true
|
|
- type: bind
|
|
source: ${VOLUMES_PATH}/mysql-backup
|
|
target: /backup
|
|
# noinspection ComposeUnknownKeys
|
|
is_directory: true
|