2023-11-06 10:39:27 +08:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
services:
|
|
|
|
proxitok:
|
|
|
|
image: ghcr.io/pablouser1/proxitok:latest
|
|
|
|
container_name: proxitok
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- CHOWN
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- TZ=Asia/Singapore
|
|
|
|
- LATTE_CACHE=/cache
|
|
|
|
- API_CACHE=redis
|
|
|
|
- REDIS_HOST=proxitok-redis
|
|
|
|
- REDIS_PORT=6379
|
|
|
|
- API_SIGNER=remote
|
|
|
|
- APP_URL=https://tt.opnxng.com
|
|
|
|
- API_SIGNER_URL=http://proxitok-signer:8080/signature
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- 8909:8080
|
|
|
|
depends_on:
|
|
|
|
- proxitok-redis
|
|
|
|
- signer
|
|
|
|
networks:
|
2023-11-10 05:28:42 +08:00
|
|
|
- proxitok
|
2024-08-11 21:41:34 +08:00
|
|
|
|
2023-11-06 10:39:27 +08:00
|
|
|
proxitok-redis:
|
|
|
|
container_name: proxitok-redis
|
|
|
|
image: redis:alpine
|
|
|
|
command: redis-server --save 60 1 --loglevel warning
|
|
|
|
user: nobody
|
|
|
|
read_only: true
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- TZ=Asia/Singapore
|
|
|
|
tmpfs:
|
|
|
|
- /data:size=10M,mode=0770,uid=65534,gid=65534,noexec,nosuid,nodev
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
2023-11-10 05:28:42 +08:00
|
|
|
- proxitok
|
2023-11-06 10:39:27 +08:00
|
|
|
|
|
|
|
signer:
|
|
|
|
container_name: proxitok-signer
|
|
|
|
image: ghcr.io/pablouser1/signtok:master
|
|
|
|
init: true
|
|
|
|
user: nobody
|
|
|
|
read_only: true
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- TZ=Asia/Singapore
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
networks:
|
2023-11-10 05:28:42 +08:00
|
|
|
- proxitok
|
|
|
|
|
2023-11-06 10:39:27 +08:00
|
|
|
networks:
|
2023-11-10 05:28:42 +08:00
|
|
|
proxitok:
|
2024-10-05 11:47:43 +08:00
|
|
|
name: proxitok
|