2022-02-27 19:46:48 +00:00
|
|
|
version: "3.7"
|
|
|
|
services:
|
|
|
|
nginx:
|
|
|
|
container_name: nginx
|
2022-07-23 18:41:50 +00:00
|
|
|
restart: ${RESTART:-unless-stopped}
|
2022-02-27 19:46:48 +00:00
|
|
|
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
|
|
|
- './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:
|
2022-05-11 22:35:51 +00:00
|
|
|
- '127.0.0.1:8384:8384'
|
2022-02-27 19:46:48 +00:00
|
|
|
- 22000:22000/tcp
|
|
|
|
- 22000:22000/udp
|
|
|
|
- 21027:21027/udp
|
2022-07-23 18:41:50 +00:00
|
|
|
restart: ${RESTART:-unless-stopped}
|
2022-02-27 19:46:48 +00:00
|
|
|
|
|
|
|
cloudflared:
|
2022-07-11 18:08:38 +00:00
|
|
|
image: erisamoe/cloudflared
|
2022-02-27 19:46:48 +00:00
|
|
|
container_name: cloudflared
|
2022-07-11 18:08:38 +00:00
|
|
|
command: --origincert /root/.cloudflared/cert.pem tunnel run --url http://nginx ${DOMAIN_NAME:?err}
|
2022-07-23 18:41:50 +00:00
|
|
|
restart: ${RESTART:-unless-stopped}
|
2022-02-27 19:46:48 +00:00
|
|
|
volumes:
|
|
|
|
- './data/cloudflared/etc:/etc/cloudflared'
|
|
|
|
- './data/cloudflared/home:/root'
|
2022-07-11 18:08:38 +00:00
|
|
|
- './preset/passwd:/etc/passwd'
|