2022-03-15 17:52:54 -04:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
web:
|
|
|
|
container_name: proxitok-web
|
2023-06-12 12:57:05 -04:00
|
|
|
image: ghcr.io/pablouser1/proxitok:master
|
2022-03-15 17:52:54 -04:00
|
|
|
ports:
|
2023-07-26 15:41:37 -04:00
|
|
|
- 8080:8080
|
2022-03-15 17:52:54 -04:00
|
|
|
environment:
|
|
|
|
- LATTE_CACHE=/cache
|
|
|
|
- API_CACHE=redis
|
|
|
|
- REDIS_HOST=proxitok-redis
|
|
|
|
- REDIS_PORT=6379
|
2022-08-13 07:09:39 -04:00
|
|
|
- API_SIGNER=remote
|
2022-05-22 06:52:56 -04:00
|
|
|
- API_SIGNER_URL=http://proxitok-signer:8080/signature
|
2022-03-15 17:52:54 -04:00
|
|
|
volumes:
|
|
|
|
- proxitok-cache:/cache
|
|
|
|
depends_on:
|
|
|
|
- redis
|
2022-05-22 06:52:56 -04:00
|
|
|
- signer
|
2023-03-18 22:10:24 -04:00
|
|
|
networks:
|
|
|
|
- proxitok
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- CHOWN
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
|
|
|
|
2022-03-15 17:52:54 -04:00
|
|
|
redis:
|
|
|
|
container_name: proxitok-redis
|
2022-05-22 06:52:56 -04:00
|
|
|
image: redis:7-alpine
|
2022-03-15 17:52:54 -04:00
|
|
|
command: redis-server --save 60 1 --loglevel warning
|
|
|
|
restart: unless-stopped
|
2023-03-18 22:10:24 -04:00
|
|
|
networks:
|
|
|
|
- proxitok
|
|
|
|
user: nobody
|
|
|
|
read_only: true
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
|
|
|
tmpfs:
|
|
|
|
- /data:size=10M,mode=0770,uid=65534,gid=65534,noexec,nosuid,nodev
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
|
2022-05-22 06:52:56 -04:00
|
|
|
signer:
|
|
|
|
container_name: proxitok-signer
|
|
|
|
image: ghcr.io/pablouser1/signtok:master
|
2023-07-26 16:21:06 -04:00
|
|
|
init: true
|
2023-03-18 22:10:24 -04:00
|
|
|
networks:
|
|
|
|
- proxitok
|
|
|
|
user: nobody
|
|
|
|
read_only: true
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
|
2022-03-15 17:52:54 -04:00
|
|
|
volumes:
|
|
|
|
proxitok-cache:
|
2023-03-18 22:10:24 -04:00
|
|
|
|
|
|
|
networks:
|
|
|
|
proxitok:
|