Skip to content

Commit a4178c3

Browse files
committed
mount traefik files locally for permissions in podman
1 parent f27bed1 commit a4178c3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
/data/
22
node_modules
33
.env
4+
./traefik_config
5+
./traefik_config/

compose.traefik.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ services:
8282
tail -f /dev/null
8383
8484
volumes:
85-
- traefik_config:/traefik_config
85+
- ./traefik_config:/traefik_config
8686
restart: "no"
8787
traefik:
8888
image: docker.io/traefik:${TRAEFIK_RELEASE:-v3.4}
@@ -124,7 +124,7 @@ services:
124124
- ${TRAEFIK_HTTPS_PORT:-443}
125125
volumes:
126126
- traefik_ssl:/letsencrypt:rw
127-
- traefik_config:/traefik_config:Z
127+
- ./traefik_config:/traefik_config:Z
128128
# healthcheck:
129129
# test: ["CMD", "traefik", "healthcheck"]
130130
# interval: 30s
@@ -134,4 +134,3 @@ services:
134134
volumes:
135135
# this is for ssl shennanigans, users usually won't need to bother with it
136136
traefik_ssl: {driver: local}
137-
traefik_config: {driver: local}

0 commit comments

Comments
 (0)