Files
004_comission/barbarbar/docker-share/docker-compose.yml
louiscklaw 72bacdd6b5 update,
2025-01-31 19:28:21 +08:00

29 lines
948 B
YAML

# 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