-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
71 lines (62 loc) · 1.8 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
version: '3.6'
x-logging:
&default-logging
options:
max-size: '100m'
max-file: '3'
driver: json-file
services:
redis:
image: redis:5.0.7-alpine
logging: *default-logging
restart: unless-stopped
command: redis-server --maxmemory 8G --maxmemory-policy allkeys-lru
spot:
image: registry.gitlab.e.foundation:5000/e/cloud/my-spot:${SPOT_DOCKER_TAG}
build:
context: .
dockerfile: Dockerfile
logging: *default-logging
restart: unless-stopped
environment:
SEARX_SECRET: "${SEARX_SECRET}"
SEARX_MORTY_URL: "${SEARX_MORTY_URL}"
SEARX_MORTY_KEY: "${SEARX_MORTY_KEY}"
SEARX_PROXY_HTTP: "${SEARX_PROXY_HTTP}"
SEARX_PROXY_HTTPS: "${SEARX_PROXY_HTTPS}"
SEARX_REDIS_HOST: "${SEARX_REDIS_HOST}"
SEARX_UI_DEFAULT_THEME: "${SEARX_UI_DEFAULT_THEME}"
GUNICORN_LOGGER: 1
GUNICORN_LEVEL: INFO
spot-nginx:
image: registry.gitlab.e.foundation:5000/e/cloud/my-spot/nginx:${SPOT_NGINX_DOCKER_TAG}
build:
context: .
dockerfile: nginx.Dockerfile
logging: *default-logging
restart: unless-stopped
environment:
SEARX_MORTY_URL: "${SEARX_MORTY_URL}"
filtron:
image: dalf/filtron:latest
logging: *default-logging
restart: unless-stopped
command: -listen :3000 -rules /etc/filtron/rules.json -target spot-nginx
ports:
- ${FILTRON_PORT}:3000
volumes:
- ./etc/filtron/rules.json:/etc/filtron/rules.json
morty:
image: dalf/morty:latest
logging: *default-logging
restart: unless-stopped
ports:
- ${MORTY_PORT}:3000
environment:
DEBUG: "false"
MORTY_ADDRESS: ":3000"
MORTY_KEY: "${SEARX_MORTY_KEY}"
tor-socks-proxy:
image: peterdavehello/tor-socks-proxy:latest
logging: *default-logging
restart: unless-stopped