forked from rhydin/rrbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (31 loc) · 785 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (31 loc) · 785 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
version: '3'
# !!! DO NOT USE FOR PRODUCTION !!!
# !!! DO NOT USE FOR PRODUCTION !!!
#
# This is meant for development on localhost only
#
# !!! DO NOT USE FOR PRODUCTION !!!
# !!! DO NOT USE FOR PRODUCTION !!!
services:
db:
image: mysql:latest
ports:
- "0.0.0.0:3306:3306"
volumes:
- ./.data/mysql:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: garbage_collection
MYSQL_DATABASE: rrbot
MYSQL_USER: rrbot
MYSQL_PASSWORD: rrbot
mqtt:
image: eclipse-mosquitto
ports:
- "0.0.0.0:1883:1883"
- "0.0.0.0:9001:9001"
volumes:
- ./.mosquitto.conf:/mosquitto/config/mosquitto.conf
- ./.data/mosquitto:/mosquitto/data
- ./logs/mosquitto:/mosquitto/log
restart: always