compose updates

This commit is contained in:
Waylon Walker 2023-05-27 19:27:01 -05:00
parent e6644cc770
commit a538fa8981
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4
11 changed files with 49 additions and 36 deletions

View file

@ -1,8 +1,7 @@
version: "3.9" version: "3.9"
services: services:
api: api:
# custom build via
#build: packages/api-server
image: xemle/home-gallery-api-server image: xemle/home-gallery-api-server
container_name: home-gallery-api-server container_name: home-gallery-api-server
restart: unless-stopped restart: unless-stopped
@ -51,7 +50,7 @@ services:
- "traefik.http.middlewares.home-gallery-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.home-gallery-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.home-gallery.middlewares=home-gallery-https-redirect" - "traefik.http.routers.home-gallery.middlewares=home-gallery-https-redirect"
- "traefik.http.routers.home-gallery-secure.entrypoints=https" - "traefik.http.routers.home-gallery-secure.entrypoints=https"
- "traefik.http.routers.home-gallery-secure.rule=Host(`home-gallery.local.waylonwalker.com`)" - "traefik.http.routers.home-gallery-secure.rule=Host(`home-gallery.${URL}`)"
- "traefik.http.routers.home-gallery-secure.tls=true" - "traefik.http.routers.home-gallery-secure.tls=true"
- "traefik.http.routers.home-gallery-secure.service=home-gallery" - "traefik.http.routers.home-gallery-secure.service=home-gallery"
- "traefik.http.services.home-gallery.loadbalancer.server.port=3000" - "traefik.http.services.home-gallery.loadbalancer.server.port=3000"

View file

@ -1,4 +1,5 @@
version: "3.1" version: "3.1"
services: services:
librespeed: librespeed:
image: lscr.io/linuxserver/librespeed image: lscr.io/linuxserver/librespeed
@ -8,17 +9,6 @@ services:
- no-new-privileges:true - no-new-privileges:true
networks: networks:
- proxy - proxy
# environment:
# - PUID=1000
# - PGID=1000
# - PASSWORD=PASSWORD
# - CUSTOM_RESULTS=false #optional
# - DB_TYPE=sqlite #optional
# - DB_NAME=DB_NAME #optional
# - DB_HOSTNAME=DB_HOSTNAME #optional
# - DB_USERNAME=DB_USERNAME #optional
# - DB_PASSWORD=DB_PASSWORD #optional
# - DB_PORT=DB_PORT #optional
volumes: volumes:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- ${PWD}/data/librespeed/config:/config - ${PWD}/data/librespeed/config:/config
@ -30,7 +20,7 @@ services:
- "traefik.http.middlewares.librespeed-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.librespeed-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.librespeed.middlewares=librespeed-https-redirect" - "traefik.http.routers.librespeed.middlewares=librespeed-https-redirect"
- "traefik.http.routers.librespeed-secure.entrypoints=https" - "traefik.http.routers.librespeed-secure.entrypoints=https"
- "traefik.http.routers.librespeed-secure.rule=Host(`librespeed.local.waylonwalker.com`)" - "traefik.http.routers.librespeed-secure.rule=Host(`librespeed.${URL}`)"
- "traefik.http.routers.librespeed-secure.tls=true" - "traefik.http.routers.librespeed-secure.tls=true"
- "traefik.http.routers.librespeed-secure.service=librespeed" - "traefik.http.routers.librespeed-secure.service=librespeed"
- "traefik.http.services.librespeed.loadbalancer.server.port=80" - "traefik.http.services.librespeed.loadbalancer.server.port=80"

View file

@ -1,10 +1,10 @@
version: "3" version: "3"
services: services:
netdata: netdata:
image: netdata/netdata image: netdata/netdata
container_name: netdata container_name: netdata
# ports: restart: unless-stopped
# - 19999:19999
cap_add: cap_add:
- SYS_PTRACE - SYS_PTRACE
networks: networks:
@ -25,7 +25,7 @@ services:
- "traefik.http.middlewares.netdata-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.netdata-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.netdata.middlewares=netdata-https-redirect" - "traefik.http.routers.netdata.middlewares=netdata-https-redirect"
- "traefik.http.routers.netdata-secure.entrypoints=https" - "traefik.http.routers.netdata-secure.entrypoints=https"
- "traefik.http.routers.netdata-secure.rule=Host(`netdata.local.waylonwalker.com`)" - "traefik.http.routers.netdata-secure.rule=Host(`netdata.${URL}`)"
- "traefik.http.routers.netdata-secure.tls=true" - "traefik.http.routers.netdata-secure.tls=true"
- "traefik.http.routers.netdata-secure.service=netdata" - "traefik.http.routers.netdata-secure.service=netdata"
- "traefik.http.services.netdata.loadbalancer.server.port=19999" - "traefik.http.services.netdata.loadbalancer.server.port=19999"

View file

@ -9,14 +9,14 @@ services:
- no-new-privileges:true - no-new-privileges:true
networks: networks:
- proxy - proxy
environment:
- MYSQL_DATABASE=photoview
- MYSQL_USER=photoview
- MYSQL_PASSWORD=photosecret
- MYSQL_RANDOM_ROOT_PASSWORD=1
volumes: volumes:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- db_data:/var/lib/mysql - db_data:/var/lib/mysql
environment:
- MYSQL_DATABASE=${PHOTOVIEW_MYSQL_DATABASE}
- MYSQL_USER=${PHOTOVIEW_MYSQL_USER}
- MYSQL_RANDOM_ROOT_PASSWORD=${PHOTOVIEW_MYSQL_RANDOM_ROOT_PASSWORD}
- MYSQL_PASSWORD=${PHOTOVIEW_MYSQL_PASSWORD}
photoview: photoview:
image: viktorstrate/photoview:2 image: viktorstrate/photoview:2
@ -64,7 +64,7 @@ services:
- "traefik.http.middlewares.photoview-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.photoview-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.photoview.middlewares=photoview-https-redirect" - "traefik.http.routers.photoview.middlewares=photoview-https-redirect"
- "traefik.http.routers.photoview-secure.entrypoints=https" - "traefik.http.routers.photoview-secure.entrypoints=https"
- "traefik.http.routers.photoview-secure.rule=Host(`photoview.local.waylonwalker.com`)" - "traefik.http.routers.photoview-secure.rule=Host(`photoview.${URL}`)"
- "traefik.http.routers.photoview-secure.tls=true" - "traefik.http.routers.photoview-secure.tls=true"
- "traefik.http.routers.photoview-secure.service=photoview" - "traefik.http.routers.photoview-secure.service=photoview"
- "traefik.http.services.photoview.loadbalancer.server.port=80" - "traefik.http.services.photoview.loadbalancer.server.port=80"

View file

@ -1,6 +1,5 @@
version: "3" version: "3"
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services: services:
pihole: pihole:
image: pihole/pihole:latest image: pihole/pihole:latest

View file

@ -20,7 +20,7 @@ services:
- "traefik.http.middlewares.portainer-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.portainer-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.portainer.middlewares=portainer-https-redirect" - "traefik.http.routers.portainer.middlewares=portainer-https-redirect"
- "traefik.http.routers.portainer-secure.entrypoints=https" - "traefik.http.routers.portainer-secure.entrypoints=https"
- "traefik.http.routers.portainer-secure.rule=Host(`portainer.local.waylonwalker.com`)" - "traefik.http.routers.portainer-secure.rule=Host(`portainer.${URL}`)"
- "traefik.http.routers.portainer-secure.tls=true" - "traefik.http.routers.portainer-secure.tls=true"
- "traefik.http.routers.portainer-secure.service=portainer" - "traefik.http.routers.portainer-secure.service=portainer"
- "traefik.http.services.portainer.loadbalancer.server.port=9000" - "traefik.http.services.portainer.loadbalancer.server.port=9000"

View file

@ -28,7 +28,7 @@ services:
- "traefik.http.middlewares.shinobi-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.shinobi-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.shinobi.middlewares=shinobi-https-redirect" - "traefik.http.routers.shinobi.middlewares=shinobi-https-redirect"
- "traefik.http.routers.shinobi-secure.entrypoints=https" - "traefik.http.routers.shinobi-secure.entrypoints=https"
- "traefik.http.routers.shinobi-secure.rule=Host(`shinobi.local.waylonwalker.com`)" - "traefik.http.routers.shinobi-secure.rule=Host(`shinobi.${URL}`)"
- "traefik.http.routers.shinobi-secure.tls=true" - "traefik.http.routers.shinobi-secure.tls=true"
- "traefik.http.routers.shinobi-secure.service=shinobi" - "traefik.http.routers.shinobi-secure.service=shinobi"
- "traefik.http.services.shinobi.loadbalancer.server.port=8080" - "traefik.http.services.shinobi.loadbalancer.server.port=8080"

View file

@ -28,7 +28,7 @@ services:
- "traefik.http.middlewares.syncthing-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.syncthing-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.syncthing.middlewares=syncthing-https-redirect" - "traefik.http.routers.syncthing.middlewares=syncthing-https-redirect"
- "traefik.http.routers.syncthing-secure.entrypoints=https" - "traefik.http.routers.syncthing-secure.entrypoints=https"
- "traefik.http.routers.syncthing-secure.rule=Host(`syncthing.local.waylonwalker.com`)" - "traefik.http.routers.syncthing-secure.rule=Host(`syncthing.${URL}`)"
- "traefik.http.routers.syncthing-secure.tls=true" - "traefik.http.routers.syncthing-secure.tls=true"
- "traefik.http.routers.syncthing-secure.service=syncthing" - "traefik.http.routers.syncthing-secure.service=syncthing"
- "traefik.http.services.syncthing.loadbalancer.server.port=8384" - "traefik.http.services.syncthing.loadbalancer.server.port=8384"

View file

@ -0,0 +1,30 @@
version: "3.3"
services:
tailscale:
image: tailscale/tailscale
container_name: tailscaled
restart: unless-stopped
security_opt:
- no-new-privileges:true
networks:
- proxy
volumes:
- "/var/lib:/var/lib"
- "/dev/net/tun:/dev/net/tun"
# network_mode: host
environment:
- TS_AUTHKEY=${TS_AUTHKEY}
labels:
- "traefik.enable=true"
- "traefik.http.routers.tailscale.entrypoints=http"
- "traefik.http.routers.tailscale.rule=Host(`tailscale.${URL}`)"
- "traefik.http.middlewares.tailscale-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.tailscale.middlewares=tailscale-https-redirect"
- "traefik.http.routers.tailscale-secure.entrypoints=https"
- "traefik.http.routers.tailscale-secure.rule=Host(`tailscale.${URL}`)"
- "traefik.http.routers.tailscale-secure.tls=true"
- "traefik.http.routers.tailscale-secure.service=tailscale"
- "traefik.http.services.tailscale.loadbalancer.server.port=9000"
- "traefik.docker.network=proxy"

View file

@ -13,7 +13,7 @@ services:
- 80:80 - 80:80
- 443:443 - 443:443
environment: environment:
- CF_API_EMAIL=waylon@waylonwalker.com - CF_API_EMAIL=${CF_API_EMAIL}
- CF_DNS_API_TOKEN=${CF_DNS_API_TOKEN} - CF_DNS_API_TOKEN=${CF_DNS_API_TOKEN}
# - CF_API_KEY=YOUR_API_KEY # - CF_API_KEY=YOUR_API_KEY
# be sure to use the correct one depending on if you are using a token or key # be sure to use the correct one depending on if you are using a token or key

View file

@ -9,14 +9,9 @@ services:
- no-new-privileges:true - no-new-privileges:true
networks: networks:
- proxy - proxy
# ports:
# - 1935:6100
# - 8554:6102
# - 8888:6103
# - 5000:6104
environment: environment:
- QUALITY=SD30 - QUALITY=SD30
- WYZE_EMAIL=quadmx08@gmail.com - WYZE_EMAIL=${WYZE_EMAIL}
- WYZE_PASSWORD=${WYZE_PASSWORD} - WYZE_PASSWORD=${WYZE_PASSWORD}
- SNAPSHOT=RTSP1 - SNAPSHOT=RTSP1
- IMG_DIR=/img/ - IMG_DIR=/img/
@ -34,7 +29,7 @@ services:
- "traefik.http.middlewares.cams-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.cams-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.cams.middlewares=cams-https-redirect" - "traefik.http.routers.cams.middlewares=cams-https-redirect"
- "traefik.http.routers.cams-secure.entrypoints=https" - "traefik.http.routers.cams-secure.entrypoints=https"
- "traefik.http.routers.cams-secure.rule=Host(`cams.local.waylonwalker.com`)" - "traefik.http.routers.cams-secure.rule=Host(`cams.${URL}`)"
- "traefik.http.routers.cams-secure.tls=true" - "traefik.http.routers.cams-secure.tls=true"
- "traefik.http.routers.cams-secure.service=cams" - "traefik.http.routers.cams-secure.service=cams"
- "traefik.http.services.cams.loadbalancer.server.port=5000" - "traefik.http.services.cams.loadbalancer.server.port=5000"