Skip to content

Commit 4569486

Browse files
committed
fix: don't use db in tinyauth
1 parent 9e64ed8 commit 4569486

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎docker-compose.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ services:
1818
TINYAUTH_APPURL: ${TINYAUTH_APP_URL}
1919
TINYAUTH_AUTH_USERS: ${TINYAUTH_USERS}
2020
TINYAUTH_AUTH_TRUSTEDPROXIES: 172.30.0.0/24
21+
TINYAUTH_DATABASE_DRIVER: memory
22+
TINYAUTH_LOG_LEVEL: error
2123
volumes:
2224
- /var/run/docker.sock:/var/run/docker.sock:ro
2325
labels:
@@ -39,7 +41,7 @@ services:
3941
traefik.http.routers.demo.entrypoints: web
4042
traefik.http.services.demo.loadbalancer.server.port: 3000
4143
traefik.http.routers.demo.middlewares: tinyauth
42-
tinyauth.apps.demo.path.allow: /^(\/|\/background\.jpg)$/
44+
tinyauth.apps.demo.path.allow: /^\/$/
4345
tinyauth.apps.demo.config.domain: ${TRAEFIK_DEMO_DOMAIN}
4446

4547
networks:

0 commit comments

Comments
 (0)