-
Notifications
You must be signed in to change notification settings - Fork 0
/
template-dev-docker-compose.yml
98 lines (81 loc) · 1.66 KB
/
template-dev-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
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
version: "3.6"
volumes:
mariadb:
driver: local
networks:
db:
driver: bridge
services:
filman_server:
container_name: filman_server
depends_on:
- mariadb
ports:
- "8000:8000"
expose:
- "8000"
build:
context: .
dockerfile: src/filman_server/Dockerfile
environment:
- SQLALCHEMY_DATABASE_URL=mysql://root:root1234@mariadb/filman_dev
- SENTRY_ENABLED=false
- SENTRY_DSN=
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- db
restart: unless-stopped
filman_discord:
container_name: filman_discord
depends_on:
- filman_server
build:
context: .
dockerfile: src/filman_discord/Dockerfile
environment:
- DISCORD_TOKEN=
networks:
- db
restart: unless-stopped
filman_crawler:
container_name: filman_crawler
depends_on:
- filman_server
build:
context: .
dockerfile: src/filman_crawler/Dockerfile
environment:
- CORE_ENDPOINT=http://filman_server:8000
- SENTRY_ENABLED=false
- SENTRY_DSN=
networks:
- db
restart: unless-stopped
mariadb:
image: mariadb:10.6
restart: always
environment:
MYSQL_ROOT_PASSWORD: root1234
MYSQL_USER: root1234
MYSQL_PASSWORD: root1234
expose:
- "40000"
ports:
- "40000:3306"
volumes:
- mariadb:/var/lib/mysql
networks:
- db
phpmyadmin:
image: phpmyadmin
restart: always
expose:
- "40001"
ports:
- "40001:80"
environment:
- PMA_HOST=mariadb
- PMA_PORT=3306
networks:
- db