-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (37 loc) · 847 Bytes
/
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
version: "3.8"
services:
backend:
image: ghcr.io/sports-day/sportsdayapi:v1.1.0
restart: always
environment:
- TZ=Asia/Tokyo
- AZURE_AD_TENANT_ID=72fe835d-5e95-4512-8ae0-a7b38af25fc8
- DATABASE_DB=sports_day
- DATABASE_HOST=database
- DATABASE_PASSWORD=root
- DATABASE_PORT=3306
- DATABASE_USER=root
ports:
- 8080:8080
depends_on:
- database
database:
image: mariadb:lts-jammy
volumes:
- ./mariadb:/var/lib/mysql
restart: always
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=sports_day
- TZ='Asia/Tokyo'
phpmyadmin:
image: phpmyadmin
depends_on:
- database
environment:
- PMA_ARBITRARY=1
- PMA_HOSTS=database
- PMA_USER=root
- PMA_PASSWORD=root
ports:
- "3030:80"