-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
111 lines (111 loc) · 3.34 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
107
108
109
110
111
version: "2.1"
services:
foolstack-db:
image: ghcr.io/suika/foolstack-docker:percona
container_name: foolstack-db
restart: always
networks:
- foolstack
environment:
MYSQL_ROOT_PASSWORD: pass
volumes:
- ff-db:/var/lib/mysql
- ff-db-logs:/var/log/mysql
foolstack-php:
image: ghcr.io/suika/foolstack-docker:php
container_name: foolstack-php
restart: always
networks:
- foolstack
depends_on:
foolstack-db:
condition: service_healthy
foolstack-redis:
condition: service_healthy
volumes:
- ff-foolframe-temp:/var/www/foolfuuka/public/foolframe/foolz
- ff-foolfuuka-temp:/var/www/foolfuuka/public/foolfuuka/foolz
- ff-foolfuuka-conf:/var/www/foolfuuka/app/foolz/foolfuuka/config
- ff-foolframe-conf:/var/www/foolfuuka/app/foolz/foolframe/config
- ff-foolframe-logs:/var/www/foolfuuka/app/foolz/foolframe/logs
# - ff-boards:/var/www/foolfuuka/public/foolfuuka/boards # uncomment for image uploads by foolfuuka
foolstack-nginx:
image: ghcr.io/suika/foolstack-docker:nginx
container_name: foolstack-nginx
restart: always
networks:
- foolstack
depends_on:
foolstack-db:
condition: service_healthy
foolstack-php:
condition: service_healthy
foolstack-redis:
condition: service_healthy
volumes:
- ff-foolframe-temp:/var/www/foolfuuka/public/foolframe/foolz:ro
- ff-foolfuuka-temp:/var/www/foolfuuka/public/foolfuuka/foolz:ro
- ff-boards:/var/www/foolfuuka/public/foolfuuka/boards:ro
ports:
- 8080:80
foolstack-redis:
container_name: foolstack-redis
image: healthcheck/redis
restart: always
networks:
- foolstack
volumes:
- ff-redis:/data
foolstack-scraper:
image: ghcr.io/suika/foolstack-docker:eve # :asagi :eve :hayden
container_name: foolstack-scraper
restart: always
networks:
- foolstack
depends_on:
foolstack-db:
condition: service_healthy
environment:
- SCRAPER_BOARDS=w,wg
- SCRAPER_DOWNLOAD_MEDIA=True # true/false if hayden, True/False if eve
- SCRAPER_DOWNLOAD_THUMBS=True # true/false if hayden, True/False if eve
volumes:
- ff-boards:/boards
foolstack-sphinx:
image: ghcr.io/suika/foolstack-docker:manticore
container_name: foolstack-sphinx
restart: always
networks:
- foolstack
depends_on:
foolstack-db:
condition: service_healthy
volumes:
- ff-sphinx-data:/var/lib/manticore
- ff-sphinx-logs:/var/log/manticore
volumes:
ff-foolframe-temp: # FoolFrame generated content on the fly via php
driver: local
ff-foolfuuka-temp: # FoolFuuka generated content on the fly via php
driver: local
ff-foolframe-logs: # FoolFrame logs
driver: local
ff-foolfuuka-conf: # Persistent configs
driver: local
ff-foolframe-conf: # Persistent configs
driver: local
ff-db: # Percona DB
driver: local
ff-db-logs: # Percona DB Logs
driver: local
ff-sphinx-data: # MantiCore DB
driver: local
ff-sphinx-logs: # MantiCore Logs
driver: local
ff-boards: # Downloaded images and thumbs
driver: local
ff-redis: # Redis
driver: local
networks:
foolstack:
name: foolstack