60 lines
1.1 KiB
YAML
60 lines
1.1 KiB
YAML
version: "3.5"
|
|
|
|
networks:
|
|
local:
|
|
rauthy-test:
|
|
driver: bridge
|
|
|
|
services:
|
|
db:
|
|
image: postgres:17.5-alpine
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_DB: mv_dev
|
|
volumes:
|
|
- type: volume
|
|
source: postgres-data
|
|
target: /var/lib/postgresql/data
|
|
volume:
|
|
nocopy: true
|
|
ports:
|
|
- "5000:5432"
|
|
networks:
|
|
- local
|
|
|
|
mailcrab:
|
|
image: marlonb/mailcrab:latest
|
|
ports:
|
|
- "1080:1080"
|
|
networks:
|
|
- rauthy-test
|
|
|
|
|
|
rauthy:
|
|
container_name: rauthy-test
|
|
image: ghcr.io/sebadob/rauthy:latest
|
|
environment:
|
|
- LOCAL_TEST=true
|
|
- SMTP_URL=mailcrab
|
|
- SMTP_PORT=1025
|
|
- SMTP_DANGER_INSECURE=true
|
|
- BOOTSTRAP_ADMIN_PASSWORD_PLAIN=RauthyTest12345
|
|
#- HIQLITE=false
|
|
#- PG_HOST=db
|
|
#- PG_PORT=5432
|
|
#- PG_USER=postgres
|
|
#- PG_PASSWORD=postgres
|
|
#- PG_DB_NAME=mv_dev
|
|
ports:
|
|
- "8080:8080"
|
|
depends_on:
|
|
- mailcrab
|
|
- db
|
|
networks:
|
|
- rauthy-test
|
|
- local
|
|
|
|
volumes:
|
|
postgres-data:
|
|
|