sso/docker-compose.yml

38 lines
912 B
YAML
Raw Normal View History

2020-05-24 13:00:18 +00:00
version: "3"
services:
postgres:
# postgres:9.6.17-alpine
image: postgres@sha256:c48c87e19b1c9bdc9d1de8a0f53fa1c7f91f887ecc06d0c2efd3f3425090b6c0
volumes:
- pgdata:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=secret
backend:
build: .
2020-05-30 20:53:06 +00:00
image: registry.k0.hswaw.net/informatic/sso-v2
2020-05-24 13:00:18 +00:00
ports:
- 5000:5000
volumes:
- .:/usr/src/app
environment:
2022-04-28 23:08:27 +00:00
2020-05-24 13:00:18 +00:00
- TEMPLATES_AUTO_RELOAD=true
- AUTHLIB_INSECURE_TRANSPORT=1
2022-04-28 23:08:27 +00:00
# Set these to your testing LDAP dn/password
2020-05-24 13:00:18 +00:00
- LDAP_BIND_DN
- LDAP_BIND_PASSWORD
2022-04-28 23:08:27 +00:00
# ...or uncomment this to allow any login with some mocked user info
# - TESTING=1
2020-05-30 20:53:06 +00:00
- LOGGING_LEVEL=DEBUG
2020-05-24 13:00:18 +00:00
2022-04-28 23:08:27 +00:00
# Uncomment these to enable proper RSA JWT id_tokens signing
# - JWT_PRIVATE_KEY=private.pem
# - JWT_PUBLIC_KEYS=public.pem,public.pem
# - JWT_ALG=RS256
2020-05-24 13:00:18 +00:00
volumes:
pgdata: