Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 488e92e4d6 | |||
| fc496c5a3a | |||
| 9c1b2b5084 |
+1
-1
@@ -2,7 +2,7 @@ services:
|
|||||||
rustfs:
|
rustfs:
|
||||||
# https://hub.docker.com/r/rustfs/rustfs
|
# https://hub.docker.com/r/rustfs/rustfs
|
||||||
# https://github.com/rustfs/rustfs/releases
|
# https://github.com/rustfs/rustfs/releases
|
||||||
image: rustfs/rustfs:1.0.0-alpha.69
|
image: rustfs/rustfs:1.0.0-alpha.86
|
||||||
hostname: unraid
|
hostname: unraid
|
||||||
container_name: rustfs
|
container_name: rustfs
|
||||||
env_file: .env
|
env_file: .env
|
||||||
|
|||||||
+4
-12
@@ -1,9 +1,6 @@
|
|||||||
volumes:
|
|
||||||
acme:
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik:3.0
|
image: traefik:3
|
||||||
container_name: traefik
|
container_name: traefik
|
||||||
restart: always
|
restart: always
|
||||||
command: --providers.docker
|
command: --providers.docker
|
||||||
@@ -14,11 +11,6 @@ services:
|
|||||||
- acme:/acme/
|
- acme:/acme/
|
||||||
#- ./volume/usersFile:/usersFile # Basic Auth
|
#- ./volume/usersFile:/usersFile # Basic Auth
|
||||||
network_mode: host
|
network_mode: host
|
||||||
labels:
|
|
||||||
- traefik.enable=true
|
volumes:
|
||||||
# Wildcard http -> https redirection for all routers
|
acme:
|
||||||
- traefik.http.routers.http-catchall.rule=HostRegexp(`.`)
|
|
||||||
- traefik.http.routers.http-catchall.entrypoints=http
|
|
||||||
- traefik.http.routers.http-catchall.middlewares=redirect-to-https@docker
|
|
||||||
- traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https
|
|
||||||
- traefik.http.services.http-catchall.loadbalancer.server.port=80
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
entryPoints:
|
entryPoints:
|
||||||
http:
|
web:
|
||||||
address: ':80'
|
address: ':80'
|
||||||
https:
|
websecure:
|
||||||
address: ':443'
|
address: ':443'
|
||||||
asDefault: true
|
asDefault: true
|
||||||
|
|
||||||
|
|||||||
+7
-7
@@ -3,13 +3,13 @@ services:
|
|||||||
# A container that exposes an API to show its IP address
|
# A container that exposes an API to show its IP address
|
||||||
image: containous/whoami
|
image: containous/whoami
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
traefik.enable: true
|
||||||
# Enable HTTPS
|
# Enable HTTPS
|
||||||
- traefik.http.routers.whoami.rule=Host(${TRAEFIK_HOST})
|
traefik.http.routers.whoami.rule: Host(${TRAEFIK_HOST})
|
||||||
- traefik.http.routers.whoami.tls=true
|
traefik.http.routers.whoami.tls: true
|
||||||
- traefik.http.routers.whoami.tls.certresolver=letsencrypt
|
traefik.http.routers.whoami.tls.certresolver: letsencrypt
|
||||||
- traefik.http.routers.whoami.middlewares=secured@file # ip allowlist
|
traefik.http.routers.whoami.middlewares: secured@file # ip allowlist
|
||||||
# # Basic Auth - Users and Passwords must be added to volume/traefik/usersFile
|
# # Basic Auth - Users and Passwords must be added to volume/traefik/usersFile
|
||||||
# - traefik.http.routers.whoami.middlewares=basic-auth@file
|
# traefik.http.routers.whoami.middlewares: basic-auth@file
|
||||||
# # Specify web port from container (if container is not listen on default port 80)
|
# # Specify web port from container (if container is not listen on default port 80)
|
||||||
# - traefik.http.services.whoami.loadbalancer.server.port=8080
|
# traefik.http.services.whoami.loadbalancer.server.port: 8080
|
||||||
|
|||||||
Reference in New Issue
Block a user