First commit
This commit is contained in:
commit
286a7e9a03
46 changed files with 1016 additions and 0 deletions
26
homepage/install/homepage.compose.yaml
Normal file
26
homepage/install/homepage.compose.yaml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
web:
|
||||
image: nginx:alpine
|
||||
container_name: homepage
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.homepage.rule=Host(`${VIRTUAL_HOST}`)"
|
||||
- "traefik.http.routers.homepage.entrypoints=websecure"
|
||||
- "traefik.http.routers.homepage.tls=true"
|
||||
- "traefik.http.routers.homepage.tls.certresolver=myresolver"
|
||||
- "traefik.http.routers.homepage-http.rule=Host(`${VIRTUAL_HOST}`)"
|
||||
- "traefik.http.routers.homepage-http.entrypoints=web"
|
||||
- "traefik.http.routers.homepage-http.middlewares=redirect-to-https"
|
||||
- "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
|
||||
- "traefik.docker.network=http-proxy"
|
||||
volumes:
|
||||
- /srv/docker/homepage/www:/usr/share/nginx/html:ro
|
||||
networks:
|
||||
- http-proxy
|
||||
|
||||
networks:
|
||||
http-proxy:
|
||||
external: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue