Add more service on use

This commit is contained in:
Gbanyan 2023-09-30 21:24:51 +08:00
parent 9e58da271d
commit 23a84cad06
10 changed files with 153 additions and 0 deletions

19
caddy/Caddyfile Normal file
View File

@ -0,0 +1,19 @@
example.com {
tls /ssl/certs/fullchain.cer /ssl/certs/example.com.key
reverse_proxy http://192.168.xx.xx:xxxx
}
https://example.com {
tls /ssl/certs/fullchain.cer /ssl/certs/example.net.key
reverse_proxy https://192.168.xx.x {
transport http {
tls
tls_insecure_skip_verify
}
}
}
example.com {
tls /ssl/certs/fullchain.cer /ssl/certs/example.com.key
reverse_proxy http://192.168.xx.xx
header Referrer-Policy no-referrer
header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive"
}

17
caddy/docker-compose.yml Normal file
View File

@ -0,0 +1,17 @@
version: '3.3'
networks:
caddy:
services:
caddy:
image: caddy:latest
restart: unless-stopped
container_name: caddy
ports:
- 80:80
- 443:443
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ./site:/srv
- ./caddy_data:/data
- ./caddy_config:/config
- /root/.acme.sh/example.com/:/ssl/certs

View File

@ -0,0 +1,14 @@
version: "3"
services:
filebrowser:
image: hurlenko/filebrowser
user: "0:0"
ports:
- 6060:8080
volumes:
- /mnt/DownTemp:/data
- ./config:/config
environment:
- FB_BASEURL=/filebrowser
restart: always

19
gitea/docker-compose.yml Normal file
View File

@ -0,0 +1,19 @@
version: '3.3'
services:
gitea:
container_name: gitea
restart: unless-stopped
privileged: true
ports:
# - '33022:22'
- '3000:3000'
volumes:
- './:/data'
- '/etc/localtime:/etc/localtime:ro'
image: 'gitea/gitea:latest'
labels:
- "traefik.enable=true"
- "traefik.http.routers.gitea.rule=Host(`gitea.com`)"
- "traefik.http.routers.gitea.entrypoints=websecure"
- "traefik.http.routers.gitea.tls.certresolver=letsencrypt"
- "traefik.http.services.gitea.loadbalancer.server.port=3000"

View File

@ -0,0 +1,11 @@
version: '3.3'
services:
home-assistant:
restart: unless-stopped
container_name: homeassistant
volumes:
- './config:/config'
environment:
- TZ=Asia/Taipei
network_mode: host
image: 'ghcr.io/home-assistant/home-assistant:stable'

View File

@ -0,0 +1,15 @@
version: "3.4"
services:
homebox:
image: ghcr.io/hay-kot/homebox:latest
container_name: homebox
restart: unless-stopped
environment:
- HBOX_LOG_LEVEL=info
- HBOX_LOG_FORMAT=text
- HBOX_WEB_MAX_UPLOAD_SIZE=10
volumes:
- homebox-data:/data/
ports:
- 3100:7745

15
memos/docker-compose.yml Normal file
View File

@ -0,0 +1,15 @@
version: '3.3'
services:
memos:
container_name: memos
restart: unless-stopped
ports:
- '5230:5230'
volumes:
- './memos/:/var/opt/memos'
image: 'neosmemo/memos:latest'
labels:
- "traefik.enable=true"
- "traefik.http.routers.memos.rule=Host(`example.com`)"
- "traefik.http.routers.memos.entrypoints=websecure"
- "traefik.http.routers.memos.tls.certresolver=letsencrypt"

22
plex/docker-compose.yml Normal file
View File

@ -0,0 +1,22 @@
version: "3.7"
services:
plex:
image: plexinc/pms-docker
restart: unless-stopped
container_name: plexms
network_mode: host
environment:
- PUID=0
- PGID=0
- TZ=Asia/Taipei
- PLEX_CLAIM=claim-
hostname: PlexServer
volumes:
- ./config:/config
- /mnt/nasmusic/HiFi:/music
devices:
- /dev/dri:/dev/dri

View File

@ -0,0 +1,12 @@
version: '3.3'
services:
portainer-ce:
ports:
- '8000:8000'
- '9000:9443'
container_name: portainer
restart: always
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- './:/data'
image: portainer/portainer-ee:latest

View File

@ -0,0 +1,9 @@
version: '3.3'
services:
server:
container_name: vaultwarden
volumes:
- './vw-data/:/data/'
ports:
- '8081:80'
image: 'vaultwarden/server:latest'