2022-02-27 19:46:48 +00:00
|
|
|
version: "3.7"
|
|
|
|
services:
|
|
|
|
nginx:
|
|
|
|
container_name: nginx
|
|
|
|
restart: unless-stopped
|
|
|
|
hostname: ${DOMAIN_NAME:?err}
|
|
|
|
volumes:
|
2022-04-19 18:23:26 +00:00
|
|
|
- './http-root:/var/lib/nginx/html/http-root:ro'
|
2022-02-27 19:46:48 +00:00
|
|
|
- './data/acme-webroot:/var/lib/nginx/html/acme:ro'
|
|
|
|
- './data/letsencrypt/etc:/etc/letsencrypt:ro'
|
|
|
|
- './preset/nginx.conf:/etc/nginx/nginx.conf:ro'
|
|
|
|
- './preset/conf.d-tunnels:/etc/nginx/conf.d:ro'
|
|
|
|
image: nginx
|
|
|
|
|
|
|
|
syncthing:
|
|
|
|
image: linuxserver/syncthing
|
|
|
|
container_name: syncthing
|
|
|
|
hostname: ${DOMAIN_NAME:?err}
|
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- TZ=Europe/London
|
|
|
|
volumes:
|
|
|
|
- './data/syncthing:/config'
|
2022-04-19 18:23:26 +00:00
|
|
|
- './http-root/chaotic-aur:/repo'
|
2022-02-27 19:46:48 +00:00
|
|
|
ports:
|
|
|
|
- 8384:8384
|
|
|
|
- 22000:22000/tcp
|
|
|
|
- 22000:22000/udp
|
|
|
|
- 21027:21027/udp
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
cloudflared:
|
2022-04-19 18:23:26 +00:00
|
|
|
image: cloudflare/cloudflared:2022.4.1
|
2022-02-27 19:46:48 +00:00
|
|
|
container_name: cloudflared
|
|
|
|
command: tunnel run --url http://nginx ${DOMAIN_NAME:?err}
|
|
|
|
user: root
|
2022-02-27 21:25:13 +00:00
|
|
|
restart: unless-stopped
|
2022-02-27 19:46:48 +00:00
|
|
|
volumes:
|
|
|
|
- './data/cloudflared/etc:/etc/cloudflared'
|
|
|
|
- './data/cloudflared/home:/root'
|