This adds Email as a multi-factor authentication method/option. It reuses the `VerificationCode` for the code generation and validation. It also refactors the email templating for easier repurposing. Finally, it has a small Deno version bump. Closes #25
35 lines
752 B
YAML
35 lines
752 B
YAML
services:
|
|
website:
|
|
image: ghcr.io/bewcloud/bewcloud:v2.1.0
|
|
restart: always
|
|
ports:
|
|
- 127.0.0.1:8000:8000
|
|
mem_limit: '256m'
|
|
env_file:
|
|
- path: .env
|
|
required: true
|
|
volumes:
|
|
- ./data-files:/app/data-files
|
|
# - ./bewcloud.config.ts:/app/bewcloud.config.ts # uncomment if you need to override the default config
|
|
|
|
postgresql:
|
|
image: postgres:17
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=fake
|
|
- POSTGRES_DB=bewcloud
|
|
restart: always
|
|
volumes:
|
|
- bewcloud-db:/var/lib/postgresql/data
|
|
ports:
|
|
- 127.0.0.1:5432:5432
|
|
ulimits:
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
mem_limit: '256m'
|
|
|
|
volumes:
|
|
bewcloud-db:
|
|
driver: local
|