2024-09-15 23:05:32 -04:00
|
|
|
---
|
|
|
|
services:
|
|
|
|
nginx:
|
2024-10-16 21:00:58 -04:00
|
|
|
image: jc21/nginx-proxy-manager:2.12.1
|
2024-09-15 23:05:32 -04:00
|
|
|
container_name: nginx-proxy-manager
|
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
- 81:81
|
|
|
|
- 443:443
|
|
|
|
volumes:
|
|
|
|
- /docker/appdata/nginx/data:/data
|
|
|
|
- /docker/appdata/nginx/letsencrypt:/etc/letsencrypt
|
|
|
|
restart: unless-stopped
|
2024-12-13 00:23:31 -05:00
|
|
|
|
2024-09-15 23:16:20 -04:00
|
|
|
fail2ban:
|
2024-09-15 23:17:30 -04:00
|
|
|
image: crazymax/fail2ban:1.1.0
|
2024-09-15 23:16:20 -04:00
|
|
|
container_name: fail2ban_docker-pi
|
|
|
|
network_mode: "host"
|
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
|
|
|
- NET_RAW
|
|
|
|
volumes:
|
|
|
|
- "/docker/appdata/fail2ban/data:/data"
|
|
|
|
- "/var/log/auth.log:/var/log/auth.log:ro"
|
|
|
|
- "/docker/appdata/nginx/data/logs/:/log/npm/:ro"
|
|
|
|
environment:
|
|
|
|
- TZ=America/New_York
|
|
|
|
- F2B_LOG_TARGET=STDOUT
|
|
|
|
- F2B_LOG_LEVEL=INFO
|
|
|
|
- F2B_DB_PURGE_AGE=1d
|
|
|
|
- SSMTP_HOST=$SSMTP_HOST
|
|
|
|
- SSMTP_PORT=587
|
|
|
|
- SSMTP_HOSTNAME=$SSMTP_HOSTNAME
|
|
|
|
- SSMTP_USER=$SSMTP_USER
|
|
|
|
- SSMTP_PASSWORD=$SSMTP_PASSWORD
|
|
|
|
- SSMTP_TLS=YES
|
2024-11-02 22:42:53 -04:00
|
|
|
restart: always
|
2024-12-13 00:23:31 -05:00
|
|
|
|
2024-11-02 22:42:53 -04:00
|
|
|
cf-tunnel:
|
|
|
|
restart: unless-stopped
|
2024-12-19 23:01:57 -05:00
|
|
|
image: cloudflare/cloudflared@sha256:84dbf6658c57c92dce8ccacd17dd051a10bb96960ed565635503051de42ea211
|
2024-11-02 22:42:53 -04:00
|
|
|
command: tunnel --no-autoupdate run --token $CF_TOKEN
|
|
|
|
|
|
|
|
twingate-famous-alligator:
|
2024-12-18 21:21:26 -05:00
|
|
|
image: twingate/connector@sha256:7afe20a41da68920693e32de852a9e68cbf7536938fff5396441e80af4cdffb0
|
2024-11-02 22:42:53 -04:00
|
|
|
container_name: twingate-famous-alligator
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
- TWINGATE_NETWORK=$TWINGATE_NETWORK
|
|
|
|
- TWINGATE_ACCESS_TOKEN=$TWINGATE_ACCESS_TOKEN
|
|
|
|
- TWINGATE_REFRESH_TOKEN=$TWINGATE_REFRESH_TOKEN
|
|
|
|
- TWINGATE_LABEL_HOSTNAME=${HOSTNAME}
|
|
|
|
- TWINGATE_LABEL_DEPLOYED_BY=docker
|
|
|
|
sysctls:
|
2024-12-13 00:23:31 -05:00
|
|
|
- net.ipv4.ping_group_range=0 2147483647
|