forked from pablouser1/ProxiTok
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (63 loc) · 1.42 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
services:
web:
container_name: proxitok-web
image: ghcr.io/pablouser1/proxitok:master
ports:
- 8080:8080
environment:
- LATTE_CACHE=/cache
- API_CACHE=redis
- REDIS_HOST=proxitok-redis
- REDIS_PORT=6379
- API_CHROMEDRIVER=http://proxitok-chromedriver:9515
# - API_VERIFYFP=verify_...
# - API_DEVICE_ID=4586...
labels:
- "io.containers.autoupdate=registry"
volumes:
- proxitok-cache:/cache
depends_on:
- redis
- chromedriver
networks:
- proxitok
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
# Redis, used for caching
redis:
container_name: proxitok-redis
image: docker.io/library/redis:7.4-alpine
restart: unless-stopped
labels:
- "io.containers.autoupdate=registry"
networks:
- proxitok
init: true
user: nobody
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
# Chromedriver instance, used for sending requests to TikTok
chromedriver:
container_name: proxitok-chromedriver
image: zenika/alpine-chrome:with-chromedriver
init: true
labels:
- "io.containers.autoupdate=registry"
shm_size: 1g
networks:
- proxitok
security_opt:
- seccomp:./misc/setup/docker/chrome.json
volumes:
proxitok-cache:
networks:
proxitok: