First one #8
+6
-6
@@ -70,9 +70,9 @@ services:
|
|||||||
container_name: textsender_api_db # Optional: Give the container a specific name
|
container_name: textsender_api_db # Optional: Give the container a specific name
|
||||||
environment:
|
environment:
|
||||||
# These MUST match the user, password, and database name in the DATABASE_URL above
|
# These MUST match the user, password, and database name in the DATABASE_URL above
|
||||||
POSTGRES_USER: ${POSTGRES_MAIN_USER:-textsender_api}
|
POSTGRES_USER: ${DB_MAIN_USER:-textsender_api}
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_MAIN_PASSWORD:-password}
|
POSTGRES_PASSWORD: ${DB_MAIN_PASSWORD:-password}
|
||||||
POSTGRES_DB: ${POSTGRES_MAIN_DB:-textsender_api_db}
|
POSTGRES_DB: ${DB_MAIN_NAME:-textsender_api_db}
|
||||||
volumes:
|
volumes:
|
||||||
# Persist database data using a named volume
|
# Persist database data using a named volume
|
||||||
- postgres_data:/var/lib/postgresql
|
- postgres_data:/var/lib/postgresql
|
||||||
@@ -96,9 +96,9 @@ services:
|
|||||||
container_name: textsender_api_auth_db # Optional: Give the container a specific name
|
container_name: textsender_api_auth_db # Optional: Give the container a specific name
|
||||||
environment:
|
environment:
|
||||||
# These MUST match the user, password, and database name in the DATABASE_URL above
|
# These MUST match the user, password, and database name in the DATABASE_URL above
|
||||||
POSTGRES_USER: ${POSTGRES_AUTH_USER:-textsender_api_op}
|
POSTGRES_USER: ${DB_AUTH_USER:-textsender_api_op}
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_AUTH_PASSWORD:-password}
|
POSTGRES_PASSWORD: ${DB_AUTH_PASSWORD:-password}
|
||||||
POSTGRES_DB: ${POSTGRES_AUTH_DB:-textsender_api_auth_db}
|
POSTGRES_DB: ${DB_AUTH_DB:-textsender_api_auth_db}
|
||||||
volumes:
|
volumes:
|
||||||
# Persist database data using a named volume
|
# Persist database data using a named volume
|
||||||
- postgres_data_auth:/var/lib/postgresql
|
- postgres_data_auth:/var/lib/postgresql
|
||||||
|
|||||||
Reference in New Issue
Block a user