-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
33 lines (30 loc) · 1005 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
version: "3"
services:
mysql:
image: mysql:8.0
# NOTE: use of "mysql_native_password" is not recommended: https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password
# This is only for local debugging and development. DO NOT USE IN PRODUCTION!!!!!
command: --default-authentication-plugin=mysql_native_password
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_USER=ticketbird
- MYSQL_PASSWORD=password
- MYSQL_DATABASE=ticketbird
restart: unless-stopped
redis:
image: redis:alpine
restart: unless-stopped
bot:
image: rg.nl-ams.scw.cloud/dreamexposure/ticketbird:latest
environment:
- JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
ports:
- "8080:8080"
- "8008:8008"
- "5005:5005"
volumes:
- ./.docker/bot-config:/ticketbird/bot
working_dir: /ticketbird/bot
depends_on:
- mysql
- redis