-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.dev-bot-local.yml
More file actions
40 lines (40 loc) · 909 Bytes
/
compose.dev-bot-local.yml
File metadata and controls
40 lines (40 loc) · 909 Bytes
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
services:
saloonbot-server:
build:
context: .
dockerfile: Dockerfile.server
args:
GIT_SHA: ${GIT_SHA}
image: ghcr.io/markrcote/saloonbot-server:main
restart: always
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- MYSQL_HOST=mysql
- MYSQL_PORT=3306
- MYSQL_USER=saloonbot
- MYSQL_PASSWORD=saloonbot_password
- MYSQL_DATABASE=saloonbot
- SALOONBOT_DEBUG=${SALOONBOT_DEBUG}
depends_on:
- redis
- mysql
redis:
image: redis:alpine
restart: always
ports:
- "6379:6379"
mysql:
image: mysql:8.0
restart: always
environment:
- MYSQL_ROOT_PASSWORD=root_password
- MYSQL_DATABASE=saloonbot
- MYSQL_USER=saloonbot
- MYSQL_PASSWORD=saloonbot_password
volumes:
- mysql_data:/var/lib/mysql
ports:
- "3306:3306"
volumes:
mysql_data: