-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
50 lines (46 loc) · 1.71 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
services:
postgres:
image: postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
healthcheck:
test: ['CMD-SHELL', 'pg_isready -d postgres -U postgres']
start_period: 20s
interval: 30s
retries: 5
timeout: 5s
volumes:
- delegator:/var/lib/postgresql/data
delegator:
image: deutschemodelunitednations/delegator:latest
depends_on:
- postgres
ports:
- 3000:3000
# if you want to utilize a tasks container you can start the image with this instead
# command: ["bun", "tasksMain.js"]
# for config options, please refer to the '/src/config' directory
# for adapter/hosting options please refer to https://github.com/gornostay25/svelte-adapter-bun?tab=readme-ov-file#desktop_computer-environment-variables
environment:
# - PORT=3000
# - HOST=0.0.0.0
- DATABASE_URL=postgres://postgres:postgres@postgres:5432/postgres
# change this to something long, secure and truly random
- SECRET=123
# if your setup supports PROTOCOL_HEADER or HOST_HEADER you don't need to set these
# please see the adapter/hosting options for more information
- ORIGIN=https://{your orign}
# variables which are exposed to the client must be prefixed with PUBLIC_
- PUBLIC_OIDC_AUTHORITY=https://guard.munify.cloud
- PUBLIC_OIDC_CLIENT_ID=275671515582758948@dev
#
# Please make sure that your OIDC auth provider allows
#
# https://{your orign}/auth/login-callback
# https://{your orign}/auth/logout-callback
#
# for login and logout callbacks.
# You can set those in the redirect settings of your auth provider!
volumes:
delegator: