-
-
Notifications
You must be signed in to change notification settings - Fork 129
Expand file tree
/
Copy pathdocker-compose.traefik.yml
More file actions
38 lines (35 loc) · 1.08 KB
/
docker-compose.traefik.yml
File metadata and controls
38 lines (35 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
services:
app:
image: ghcr.io/hargata/lubelogger:latest
restart: unless-stopped
# volumes used to keep data persistent
volumes:
- data:/App/data
- keys:/root/.aspnet/DataProtection-Keys
# expose port and/or use serving via traefik
ports:
- 8080:8080
# traefik configurations, including networks can be commented out if not needed
networks:
- traefik-ingress
labels:
## Traefik General
# We set 'enable by default' to false, so this tells Traefik we want it to connect here
traefik.enable: true
# define network for traefik<>app communication
traefik.docker.network: traefik-ingress
## HTTP Routers
traefik.http.routers.lubelogger.entrypoints: https
traefik.http.routers.lubelogger.rule: Host(`lubelog.mydomain.tld`)
## Middlewares
#traefik.http.routers.lubelogger.middlewares: authentik@docker
# none
## HTTP Services
traefik.http.services.lubelogger.loadbalancer.server.port: 8080
volumes:
data:
keys:
networks:
traefik-ingress:
external: true