tsdocode
commited on
Commit
·
f1827f5
1
Parent(s):
5b4f635
fix: syntax
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -24,14 +24,14 @@ ENV EXECUTIONS_DATA_SAVE_ON_PROGRESS=true
|
|
| 24 |
ENV EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=false
|
| 25 |
|
| 26 |
RUN --mount=type=secret,id=POSTGRES_HOST,mode=0444,required=true \
|
| 27 |
-
|
| 28 |
|
| 29 |
|
| 30 |
RUN --mount=type=secret,id=POSTGRES_USER,mode=0444,required=true \
|
| 31 |
-
|
| 32 |
|
| 33 |
RUN --mount=type=secret,id=POSTGRES_PASSWORD,mode=0444,required=true \
|
| 34 |
-
|
| 35 |
|
| 36 |
|
| 37 |
# Postgres database connection settings
|
|
|
|
| 24 |
ENV EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=false
|
| 25 |
|
| 26 |
RUN --mount=type=secret,id=POSTGRES_HOST,mode=0444,required=true \
|
| 27 |
+
export DB_POSTGRES_HOST=$(cat /run/secrets/POSTGRES_HOST)
|
| 28 |
|
| 29 |
|
| 30 |
RUN --mount=type=secret,id=POSTGRES_USER,mode=0444,required=true \
|
| 31 |
+
export DB_POSTGRES_USER=$(cat /run/secrets/POSTGRES_USER)
|
| 32 |
|
| 33 |
RUN --mount=type=secret,id=POSTGRES_PASSWORD,mode=0444,required=true \
|
| 34 |
+
export DB_POSTGRES_PASSWORD=$(cat /run/secrets/POSTGRES_PASSWORD)
|
| 35 |
|
| 36 |
|
| 37 |
# Postgres database connection settings
|