-
-
Notifications
You must be signed in to change notification settings - Fork 164
Expand file tree
/
Copy pathdocker-compose.Development.yml
More file actions
64 lines (59 loc) · 1.33 KB
/
docker-compose.Development.yml
File metadata and controls
64 lines (59 loc) · 1.33 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# SPDX-FileCopyrightText: 2024-2025 Pagefault Games
#
# SPDX-License-Identifier: AGPL-3.0-or-later
services:
server:
image: rogueserver:dev
restart: unless-stopped
environment:
debug: true
dbaddr: db
dbuser: pokerogue
dbpass: pokerogue
dbname: pokeroguedb
gameurl: http://localhost:8000
callbackurl: http://localhost:8001
# Uncomment these to use AWS S3 for storage in development
# AWS_ACCESS_KEY_ID: <access>
# AWS_SECRET_ACCESS_KEY: <secret>
# AWS_REGION: <region>
# AWS_ENDPOINT_URL_S3: <endpoint>
depends_on:
db:
condition: service_healthy
networks:
- internal
ports:
- "8001:8001"
db:
image: docker.io/library/mariadb:11
restart: unless-stopped
healthcheck:
test:
[
"CMD",
"healthcheck.sh",
"--su-mysql",
"--connect",
"--innodb_initialized",
]
start_period: 10s
start_interval: 10s
interval: 1m
timeout: 5s
retries: 3
environment:
MYSQL_ROOT_PASSWORD: admin
MYSQL_DATABASE: pokeroguedb
MYSQL_USER: pokerogue
MYSQL_PASSWORD: pokerogue
volumes:
- database:/var/lib/mysql
networks:
- internal
ports:
- "3306:3306"
volumes:
database:
networks:
internal: