-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (39 loc) · 1.07 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
version: "3.9"
services:
bronko.media.server:
image: ghcr.io/bronko-media/bronko.media.server:development
container_name: bronko.media.server
environment:
- PUID=1001
- PGID=1001
- USER_UID=1001
- USER_GID=1001
- TZ=Europe/Berlin
volumes:
- ./data/images:/bronko.media/data/images
- ./config/settings.yml:/bronko.media/config/settings.yml
ports:
- 4567:4567
restart: unless-stopped
depends_on:
bronko.media.db:
condition: service_healthy
bronko.media.db:
image: mysql:8.0.34
container_name: bronko.media.db
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: S3cr3t!12345
MYSQL_PASSWORD: password
MYSQL_USER: bronko
MYSQL_DATABASE: BronkoMediaServer
volumes:
- ./tmp/testdb/config:/var/lib/mysql
restart: unless-stopped
healthcheck:
test: mysqladmin ping -h 127.0.0.1 -u $$MYSQL_USER --password=$$MYSQL_PASSWORD
start_period: 5s
interval: 60s
timeout: 5s
retries: 5