71 lines
2.2 KiB
YAML
71 lines
2.2 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
|
|
- nginx-log:/var/log/nginx
|
|
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=${DUPLICATI_INFLUXDB_SERVER}
|
|
- INFLUXDB_BUCKET=${DUPLICATI_INFLUXDB_BUCKET}
|
|
- INFLUXDB_ORG=${DUPLICATI_INFLUXDB_ORG}
|
|
- INFLUXDB_TOKEN=${DUPLICATI_INFLUXDB_TOKEN}
|
|
- INFLUXDB_CLIENT_HOSTNAME=${DUPLICATI_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=0
|
|
- PGID=0
|
|
- TZ=Europe/London
|
|
- PASSWORD=${CODE_WEB_PASSWORD}
|
|
#- SUDO_PASSWORD=${CODE_WEB_PASSWORD}
|
|
#- 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
|
|
- telegraf-etc:/telegraf-etc
|
|
- nginx-log:/nginx/log
|
|
ports:
|
|
- 8444:8443
|
|
restart: unless-stopped
|
|
telegraf:
|
|
image: telegraf
|
|
restart: unless-stopped
|
|
volumes:
|
|
- telegraf-etc:/etc/telegraf
|
|
- nginx-log:/var/log/nginx
|
|
environment:
|
|
- INFLUXDB_URL=${TELEGRAF_INFLUXDB_URL}
|
|
- INFLUXDB_BUCKET=${TELEGRAF_INFLUXDB_BUCKET}
|
|
- INFLUXDB_ORG=${TELEGRAF_INFLUXDB_ORG}
|
|
- INFLUXDB_TOKEN=${TELEGRAF_INFLUXDB_TOKEN}
|
|
- INFLUXDB_CLIENT_HOSTNAME=${TELEGRAF_CLIENT_HOSTNAME}
|
|
volumes:
|
|
nginx-conf.d:
|
|
letsencrypt-conf:
|
|
certbot-www:
|
|
duplicati_tmpdata:
|
|
code-server_config:
|
|
telegraf-etc:
|
|
nginx-log: |