-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdocker-compose.yml
61 lines (61 loc) · 1.64 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
version: '3'
services:
maniwani:
build: .
maniwani-frontend:
build: ./frontend
hostname: maniwani-frontend
captchouli:
build: ./build-helpers/captchouli
hostname: captchouli
restart: always
environment:
- CAPTCHOULI_FLAGS=-e -t izayoi_sakuya,yakumo_yukari,hong_meiling
volumes:
- compose-captchouli:/home/captchouli/.captchouli
minio:
image: "minio/minio"
hostname: minio
restart: always
depends_on:
- dnsproxy
environment:
- MINIO_ACCESS_KEY=minio
- MINIO_SECRET_KEY=miniostorage
volumes:
- compose-minio:/data
command: server /data
nginx:
image: nginx
restart: always
ports:
- "5000:5000"
depends_on:
- maniwani
volumes:
- ./deploy-configs/nginx.conf:/etc/nginx/nginx.conf
postgres:
image: postgres
restart: always
environment:
- POSTGRES_USER=dev
- POSTGRES_PASSWORD=dev
- POSTGRES_DB=dev
volumes:
- compose-postgres:/var/lib/postgresql/data
redis:
image: redis
hostname: redis
restart: always
command: [sh, -c, "rm -f /data/dump.rdb && redis-server --save ''"]
dnsproxy:
image: "defreitas/dns-proxy-server"
hostname: "dns.mageddo"
network_mode: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/resolv.conf:/etc/resolv.conf
volumes:
compose-captchouli:
compose-minio:
compose-postgres: