update,
This commit is contained in:
28
docker-share/docker-compose.yml
Normal file
28
docker-share/docker-compose.yml
Normal 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
|
Reference in New Issue
Block a user