Merge branch 'develop' of https://github.com/samply/bridgehead into develop

This commit is contained in:
root 2022-03-02 10:33:54 +01:00
commit 8e21d5e085
3 changed files with 13 additions and 0 deletions

6
certs/README.md Normal file
View File

@ -0,0 +1,6 @@
Drop in directory for certificates.
You can generate the necessary certs with:
``` shell
openssl req -x509 -newkey rsa:4096 -keyout certs/traefik.key -out certs/treafik.crt -days 365
```

View File

@ -9,11 +9,14 @@ services:
- --entrypoints.web.address=:80 - --entrypoints.web.address=:80
- --entrypoints.web-secure.address=:443 - --entrypoints.web-secure.address=:443
- --providers.docker=true - --providers.docker=true
- --providers.file.directory=/etc/traefik/dynamic_conf
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443
- 8080:8080 - 8080:8080
volumes: volumes:
- ../certs:/tools/certs
- ./traefik.yml:/etc/traefik/dynamic_conf/traefik.yml:ro
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
- ../auth/:/auth - ../auth/:/auth
extra_hosts: extra_hosts:

4
dktk-fed/traefik.yml Normal file
View File

@ -0,0 +1,4 @@
tls:
certificates:
- certFile: /tools/certs/traefik.crt
keyFile: /tools/certs/traefik.key