-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
106 lines (95 loc) · 2.33 KB
/
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
99
100
101
102
103
104
105
106
version: "3.9"
volumes:
postgres:
mysql:
s3:
lnx:
asagi-media:
services:
reisen:
image: ghcr.io/oka-tan/reisen:0.0.3
environment:
- REISEN_CONFIG=/etc/reisen.json
volumes:
- ./reisen.json:/etc/reisen.json
deploy:
replicas: 1
moon:
image: ghcr.io/oka-tan/moon:0.0.2
environment:
- MOON_CONFIG=/etc/moon.json
volumes:
- ./moon.json:/etc/moon.json
deploy:
replicas: 0
kaguya:
image: ghcr.io/oka-tan/kaguya:0.0.3
environment:
- KAGUYA_CONFIG=/etc/kaguya.json
volumes:
- ./kaguya.json:/etc/kaguya.json
deploy:
replicas: 0
# Importer, usually shouldn't be enabled.
mokou:
image: ghcr.io/oka-tan/mokou:0.0.1
environment:
- MOKOU_CONFIG=/etc/mokou.json
volumes:
- ./mokou.json:/etc/mokou.json
- asagi-media:/asagi-media
deploy:
replicas: 0
# Asagi scraper for importer reliability testing.
neofuuka:
image: ghcr.io/oka-tan/neofuuka:force-newest
volumes:
- ./neofuuka.json:/neofuuka/scraper.json
- asagi-media:/asagi-media
deploy:
replicas: 0
# Mysql db for importer reliability testing.
mysql:
image: mysql:8.0.30-debian
environment:
- MYSQL_ROOT_PASSWORD=12345678
- MYSQL_DATABASE=asagi
- MYSQL_USER=asagi
- MYSQL_PASSWORD=12345678
volumes:
- ./asagi-schema-main.sql:/docker-entrypoint-initdb.d/asagi-schema-main.sql
- ./asagi-schema-triggers.sql:/docker-entrypoint-initdb.d/asagi-schema-triggers.sql
- mysql:/var/lib/mysql
deploy:
replicas: 0
envoy:
image: envoyproxy/envoy:v1.23.0
volumes:
- ./envoy.yaml:/etc/envoy/envoy.yaml
ports:
- "80:80"
postgres:
image: postgres:14.5-alpine
environment:
- POSTGRES_PASSWORD=12345678
- POSTGRES_USER=postgres
- POSTGRES_DB=postgres
- PGDATA=/var/lib/postgresql/data/14.3
volumes:
- postgres:/var/lib/postgresql/data
- ./schema.sql:/docker-entrypoint-initdb.d/schema.sql
s3:
image: quay.io/minio/minio
command: "server /data --console-address \":9001\""
environment:
- MINIO_ROOT_USER=minio
- MINIO_ROOT_PASSWORD=12345678
ports:
- "9001:9001"
- "9000:9000"
volumes:
- s3:/data
lnx:
image: chillfish8/lnx:0.9.0
volumes:
- lnx:/index