Merge branch 'develop' of https://github.com/samply/bridgehead into develop
This commit is contained in:
commit
8e21d5e085
|
@ -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
|
||||
```
|
|
@ -9,11 +9,14 @@ services:
|
|||
- --entrypoints.web.address=:80
|
||||
- --entrypoints.web-secure.address=:443
|
||||
- --providers.docker=true
|
||||
- --providers.file.directory=/etc/traefik/dynamic_conf
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
- 8080:8080
|
||||
volumes:
|
||||
- ../certs:/tools/certs
|
||||
- ./traefik.yml:/etc/traefik/dynamic_conf/traefik.yml:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- ../auth/:/auth
|
||||
extra_hosts:
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
tls:
|
||||
certificates:
|
||||
- certFile: /tools/certs/traefik.crt
|
||||
keyFile: /tools/certs/traefik.key
|
Loading…
Reference in New Issue