First push from proxy (docker host) to gitea
This commit is contained in:
commit
a69fa8cc56
25 changed files with 781 additions and 0 deletions
28
nginx/docker-compose.yml
Normal file
28
nginx/docker-compose.yml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
docs:
|
||||
image: nginx:stable-alpine-slim
|
||||
container_name: nginx
|
||||
hostname: docs
|
||||
restart: always
|
||||
volumes:
|
||||
- /root/nginx/data/mkdocs/site:/usr/share/nginx/html:ro
|
||||
networks:
|
||||
- proxy
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.docs.entrypoints=http"
|
||||
- "traefik.http.routers.docs.rule=Host(`docs.office.kh3group.com`)"
|
||||
- "traefik.http.middlewares.docs-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.docs.middlewares=docs-https-redirect"
|
||||
- "traefik.http.routers.docs-secure.entrypoints=https"
|
||||
- "traefik.http.routers.docs-secure.rule=Host(`docs.office.kh3group.com`)||Host(`docs.kh3group.com`)"
|
||||
- "traefik.http.routers.docs-secure.tls=true"
|
||||
- "traefik.http.routers.docs-secure.service=docs"
|
||||
- "traefik.http.services.docs.loadbalancer.server.port=80"
|
||||
- "traefik.docker.network=proxy"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue