-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yaml
45 lines (41 loc) · 962 Bytes
/
docker-compose.yaml
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
services:
mysql:
image: mysql:8.0-oracle
restart: always
ports:
- 3306:3306
volumes:
- ./mysql/init-scripts:/docker-entrypoint-initdb.d
- ./mysql/db:/var/lib/mysql
networks:
- spotiplot-network
environment:
MYSQL_ROOT_PASSWORD: "${MYSQL_ROOT_PASSWORD}"
MYSQL_PASSWORD: "${MYSQL_PASSWORD}"
MYSQL_DATABASE: spotiplot
MYSQL_USER: spotiplot
monitor:
image: spotiplot_monitor
restart: always
ports:
- 8083:8083
volumes:
- ./app/cache:/app/cache
networks:
- spotiplot-network
environment:
MYSQL_PASSWORD: "${MYSQL_PASSWORD}"
command: ["python", "-u", "monitor.py"]
adminer:
image: adminer
restart: always
ports:
- 9090:8080
networks:
- spotiplot-network
environment:
ADMINER_DEFAULT_SERVER: mysql
# insert metabase service here (see README.md)
networks:
spotiplot-network:
driver: bridge