This commit is contained in:
louiscklaw
2025-01-31 19:28:21 +08:00
parent ce9a4aa9b3
commit 72bacdd6b5
168 changed files with 939668 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
# CREDIT: https://github.com/shren207/nextjs-docker-compose
services:
share:
build: .
# ports:
# - 8080:8080
restart: always
volumes:
- $PWD/app:/app
working_dir: /app
# command: sleep infinity
command: bash entry.sh
labels:
- "traefik.enable=true"
- "traefik.http.routers.barbarbar-http.rule=Host(`barbarbar.iamon99.com`)"
- "traefik.http.routers.barbarbar-http.entrypoints=web"
- "traefik.http.routers.barbarbar-http.middlewares=barbarbar-https"
- "traefik.http.middlewares.barbarbar-https.redirectscheme.scheme=https"
- "traefik.http.routers.barbarbar.rule=Host(`barbarbar.iamon99.com`)"
- "traefik.http.routers.barbarbar.entrypoints=websecure"
- "traefik.http.routers.barbarbar.tls.certresolver=myresolver"
- "traefik.http.services.barbarbar.loadbalancer.server.port=8080"
networks:
default:
external:
name: traefik-proxy-network