5
5
services :
6
6
nginx :
7
7
image : nginx:1.25-alpine
8
- container_name : nginx-reverse-proxy # Match the name from your error message
8
+ container_name : nginx-reverse-proxy # Match the name from your error message
9
9
ports :
10
10
- " 80:80"
11
11
- " 443:443"
@@ -28,22 +28,22 @@ services:
28
28
- backend_network
29
29
restart : unless-stopped
30
30
31
- migrator : # db migration service
32
- image : ${BACKEND_IMAGE_NAME} # reuse backend image
31
+ migrator : # db migration service
32
+ image : ${BACKEND_IMAGE_NAME} # reuse backend image
33
33
build :
34
34
context : ${BACKEND_BUILD_CONTEXT}
35
35
container_name : db-migrator
36
36
platform : ${PLATFORM}
37
37
environment :
38
- ROLE : migrator # entrypoint knows to migrate
39
- RUST_ENV : ${RUST_ENV} # development, staging, production
38
+ ROLE : migrator # entrypoint knows to migrate
39
+ RUST_ENV : ${RUST_ENV} # development, staging, production
40
40
POSTGRES_SSL_ROOT_CERT : ${POSTGRES_SSL_ROOT_CERT}
41
41
DATABASE_SCHEMA : ${POSTGRES_SCHEMA:-public}
42
42
DATABASE_URL : postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}?${POSTGRES_OPTIONS}
43
43
PLATFORM : ${PLATFORM}
44
44
BACKEND_IMAGE_NAME : ${BACKEND_IMAGE_NAME}
45
- restart : " no" # run once, then exit
46
- command : [] # keep original ENTRYPOINT
45
+ restart : " no" # run once, then exit
46
+ command : [] # keep original ENTRYPOINT
47
47
volumes :
48
48
# Read-only bind mount of our production DB CA certificate
49
49
- ${POSTGRES_SSL_ROOT_CERT}:/app/root.crt:ro
@@ -55,7 +55,7 @@ services:
55
55
build :
56
56
context : ${BACKEND_BUILD_CONTEXT}
57
57
platform : ${PLATFORM}
58
- container_name : rust-app # Explicitly set the name nginx expects
58
+ container_name : rust-app # Explicitly set the name nginx expects
59
59
environment :
60
60
ROLE : app
61
61
RUST_ENV : ${RUST_ENV}
@@ -74,6 +74,7 @@ services:
74
74
BACKEND_API_VERSION : ${BACKEND_API_VERSION}
75
75
BACKEND_ALLOWED_ORIGINS : ${BACKEND_ALLOWED_ORIGINS}
76
76
BACKEND_LOG_FILTER_LEVEL : ${BACKEND_LOG_FILTER_LEVEL}
77
+ TIPTAP_APP_ID : ${TIPTAP_APP_ID}
77
78
TIPTAP_URL : ${TIPTAP_URL}
78
79
TIPTAP_AUTH_KEY : ${TIPTAP_AUTH_KEY}
79
80
TIPTAP_JWT_SIGNING_KEY : ${TIPTAP_JWT_SIGNING_KEY}
@@ -113,4 +114,4 @@ services:
113
114
114
115
networks :
115
116
backend_network :
116
- driver : bridge
117
+ driver : bridge
0 commit comments