37 lines
612 B
YAML
37 lines
612 B
YAML
services:
|
|
torrserv:
|
|
image: torrserver:v134
|
|
container_name: torrserv
|
|
ports:
|
|
- 8090:8090
|
|
- 30112:30112
|
|
restart: always
|
|
volumes:
|
|
- /app/torrserver/db:/db
|
|
- /app/ssl:/ssl
|
|
- torserv_cache:/cache
|
|
networks:
|
|
overlay_net:
|
|
ipv4_address: 11.200.0.2
|
|
|
|
# mem_limit: "4G"
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 5G
|
|
# depends_on:
|
|
# - bind
|
|
# certbot:
|
|
# image: certbot/certbot:latest
|
|
# volumes:
|
|
# - /app/torrserver/ssl:/etc/letsencrypt/:rw
|
|
|
|
|
|
|
|
volumes:
|
|
torserv_cache:
|
|
|
|
networks:
|
|
overlay_net:
|
|
external: true
|