@@ -11,9 +11,30 @@ services:
11
11
STACK_SVIX_SERVER_URL : http://svix-server:8071
12
12
STACK_DATABASE_CONNECTION_STRING : postgres://postgres:${POSTGRES_STACKFRAME_PASSWORD}@db:5432/stackframe
13
13
STACK_DIRECT_DATABASE_CONNECTION_STRING : postgres://postgres:${POSTGRES_STACKFRAME_PASSWORD}@db:5432/stackframe
14
- env_file :
15
- - .env.backend
16
- - .env.sentry
14
+ STACK_SERVER_SECRET : ${STACK_SERVER_SECRET}
15
+ STACK_SVIX_API_KEY : ${STACK_SVIX_API_KEY}
16
+ STACK_OAUTH_MOCK_URL : ${STACK_OAUTH_MOCK_URL}
17
+ STACK_GITHUB_CLIENT_ID : ${STACK_GITHUB_CLIENT_ID}
18
+ STACK_GITHUB_CLIENT_SECRET : ${STACK_GITHUB_CLIENT_SECRET}
19
+ STACK_GOOGLE_CLIENT_ID : ${STACK_GOOGLE_CLIENT_ID}
20
+ STACK_GOOGLE_CLIENT_SECRET : ${STACK_GOOGLE_CLIENT_SECRET}
21
+ STACK_MICROSOFT_CLIENT_ID : ${STACK_MICROSOFT_CLIENT_ID}
22
+ STACK_MICROSOFT_CLIENT_SECRET : ${STACK_MICROSOFT_CLIENT_SECRET}
23
+ STACK_SPOTIFY_CLIENT_ID : ${STACK_SPOTIFY_CLIENT_ID}
24
+ STACK_SPOTIFY_CLIENT_SECRET : ${STACK_SPOTIFY_CLIENT_SECRET}
25
+ STACK_EMAIL_HOST : ${STACK_EMAIL_HOST}
26
+ STACK_EMAIL_PORT : ${STACK_EMAIL_PORT}
27
+ STACK_EMAIL_SECURE : ${STACK_EMAIL_SECURE}
28
+ STACK_EMAIL_USERNAME : ${STACK_EMAIL_USERNAME}
29
+ STACK_EMAIL_PASSWORD : ${STACK_EMAIL_PASSWORD}
30
+ STACK_EMAIL_SENDER : ${STACK_EMAIL_SENDER}
31
+ STACK_ACCESS_TOKEN_EXPIRATION_TIME : ${STACK_ACCESS_TOKEN_EXPIRATION_TIME}
32
+ STACK_SETUP_ADMIN_GITHUB_ID : ${STACK_SETUP_ADMIN_GITHUB_ID}
33
+ OTEL_EXPORTER_OTLP_ENDPOINT : ${OTEL_EXPORTER_OTLP_ENDPOINT}
34
+ NEXT_PUBLIC_SENTRY_DSN : ${NEXT_PUBLIC_SENTRY_DSN}
35
+ NEXT_PUBLIC_SENTRY_ORG : ${NEXT_PUBLIC_SENTRY_ORG}
36
+ NEXT_PUBLIC_SENTRY_PROJECT : ${NEXT_PUBLIC_SENTRY_PROJECT}
37
+ SENTRY_AUTH_TOKEN : ${SENTRY_AUTH_TOKEN}
17
38
ports :
18
39
- 8102:8102
19
40
depends_on :
@@ -25,9 +46,15 @@ services:
25
46
image : stack-auth/dashboard
26
47
networks :
27
48
- stack-auth-network
28
- env_file :
29
- - .env.dashboard
30
- - .env.sentry
49
+ environment :
50
+ NEXT_PUBLIC_STACK_URL : ${NEXT_PUBLIC_STACK_URL}
51
+ NEXT_PUBLIC_STACK_PROJECT_ID : ${NEXT_PUBLIC_STACK_PROJECT_ID}
52
+ NEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY : ${NEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY}
53
+ STACK_SECRET_SERVER_KEY : ${STACK_SERVER_SECRET}
54
+ NEXT_PUBLIC_STACK_SVIX_SERVER_URL : ${NEXT_PUBLIC_STACK_SVIX_SERVER_URL}
55
+ STACK_ACCESS_TOKEN_EXPIRATION_TIME : ${STACK_ACCESS_TOKEN_EXPIRATION_TIME}
56
+ NEXT_PUBLIC_STACK_HEAD_TAGS : ${NEXT_PUBLIC_STACK_HEAD_TAGS}
57
+ NODE_TLS_REJECT_UNAUTHORIZED : ${NODE_TLS_REJECT_UNAUTHORIZED}
31
58
depends_on :
32
59
- stack-auth-backend
33
60
@@ -43,8 +70,8 @@ services:
43
70
ports :
44
71
- 443:443
45
72
volumes :
46
- - ./nginx.conf:/etc/nginx/nginx.conf:ro
47
- - ./certs:/etc/nginx/ssl:ro
73
+ - ./volumes/nginx/ nginx.conf:/etc/nginx/nginx.conf:ro
74
+ - ./volumes/nginx/ certs:/etc/nginx/ssl:ro
48
75
depends_on :
49
76
- stack-auth-dashboard
50
77
@@ -63,6 +90,7 @@ services:
63
90
ports :
64
91
- 8111:5432
65
92
volumes :
93
+ - ./volumes/db/stack-auth-init.sql:/docker-entrypoint-initdb.d/99-stack-auth-init.sql:Z
66
94
- postgres-data:/var/lib/postgresql/data
67
95
entrypoint : ["sh", "-c", "
68
96
if [ $POSTGRES_DELAY_MS -gt 0 ]; then
0 commit comments