64 lines
1.9 KiB
YAML
64 lines
1.9 KiB
YAML
version: '3'
|
|
services:
|
|
nginx:
|
|
image: nginx:latest
|
|
volumes:
|
|
- nginx-conf.d:/etc/nginx/conf.d
|
|
- letsencrypt-conf:/etc/letsencrypt
|
|
- certbot-www:/var/www/certbot
|
|
ports:
|
|
- 443:443
|
|
- 80:80
|
|
- 8080:8080
|
|
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
|
|
restart: unless-stopped
|
|
duplicati:
|
|
image: duplicati-mysqlclient:latest
|
|
environment:
|
|
- INFLUXDB_SERVER=${INFLUXDB_SERVER}
|
|
- INFLUXDB_BUCKET=${INFLUXDB_BUCKET}
|
|
- INFLUXDB_ORG=${INFLUXDB_ORG}
|
|
- INFLUXDB_TOKEN=${INFLUXDB_TOKEN}
|
|
- INFLUXDB_CLIENT_HOSTNAME=${INFLUXDB_CLIENT_HOSTNAME}
|
|
volumes:
|
|
- duplicati_tmpdata:/data
|
|
- nginx-conf.d:/bck/nginx-conf.d
|
|
- letsencrypt-conf:/bck/letsencrypt-conf
|
|
- certbot-www:/bck/certbot-www
|
|
- duplicati_tmpdata:/bck/duplicati_tmpdata
|
|
ports:
|
|
- 8205:8200
|
|
restart: unless-stopped
|
|
code-server:
|
|
image: lscr.io/linuxserver/code-server:latest
|
|
environment:
|
|
#- PUID=1000
|
|
#- PGID=1000
|
|
- TZ=Europe/London
|
|
- PASSWORD=${ADMIN_PASSWORD} #optional
|
|
#- HASHED_PASSWORD= #optional
|
|
#- SUDO_PASSWORD=password #optional
|
|
#- SUDO_PASSWORD_HASH= #optional
|
|
#- PROXY_DOMAIN=code-server.my.domain #optional
|
|
- DEFAULT_WORKSPACE=/config/workspace #optional
|
|
volumes:
|
|
- code-server_config:/config
|
|
- nginx-conf.d:/nginx/conf.d
|
|
- letsencrypt-conf:/letsencrypt/conf
|
|
ports:
|
|
- 8444:8443
|
|
restart: unless-stopped
|
|
prometheus-exporter:
|
|
image: nginx/nginx-prometheus-exporter
|
|
command:
|
|
- -nginx.scrape-uri
|
|
- http://wan_reverse_proxy-nginx-1:8080/stub_status
|
|
ports:
|
|
- 9113:9113
|
|
restart: unless-stopped
|
|
volumes:
|
|
nginx-conf.d:
|
|
letsencrypt-conf:
|
|
certbot-www:
|
|
duplicati_tmpdata:
|
|
code-server_config: |