update compose
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ POSTGRES_HOST=postgres
|
|||||||
POSTGRES_DB=support_dev
|
POSTGRES_DB=support_dev
|
||||||
POSTGRES_USER=support_user
|
POSTGRES_USER=support_user
|
||||||
POSTGRES_PASSWORD=z1F3tKF1JNDBQmMq95Up
|
POSTGRES_PASSWORD=z1F3tKF1JNDBQmMq95Up
|
||||||
DATABASE_URL=postgresql://support_user:z1F3tKF1JNDBQmMq95Up@postgres:5433/support_dev
|
DATABASE_URL=postgresql://support_user:z1F3tKF1JNDBQmMq95Up@postgres:5432/support_dev
|
||||||
|
|
||||||
# Redis
|
# Redis
|
||||||
REDIS_HOST=redis
|
REDIS_HOST=redis
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ services:
|
|||||||
args:
|
args:
|
||||||
BUILD_COMMAND: ${BUILD_COMMAND}
|
BUILD_COMMAND: ${BUILD_COMMAND}
|
||||||
|
|
||||||
container_name: support-development
|
container_name: support-api-development
|
||||||
|
|
||||||
env_file:
|
env_file:
|
||||||
- .env.development
|
- .env.development
|
||||||
@@ -14,8 +14,8 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
NODE_ENV: ${NODE_ENV}
|
NODE_ENV: ${NODE_ENV}
|
||||||
PORT: ${PORT}
|
PORT: ${PORT}
|
||||||
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
|
DATABASE_URL: ${DATABASE_URL}
|
||||||
REDIS_HOST: redis
|
REDIS_HOST: ${REDIS_HOST}
|
||||||
REDIS_PORT: ${REDIS_PORT}
|
REDIS_PORT: ${REDIS_PORT}
|
||||||
REDIS_PASSWORD: ${REDIS_PASSWORD}
|
REDIS_PASSWORD: ${REDIS_PASSWORD}
|
||||||
|
|
||||||
@@ -41,9 +41,6 @@ services:
|
|||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
POSTGRES_HOST_AUTH_METHOD: trust
|
POSTGRES_HOST_AUTH_METHOD: trust
|
||||||
|
|
||||||
ports:
|
|
||||||
- "5433:5432"
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_development_data:/var/lib/postgresql
|
- postgres_development_data:/var/lib/postgresql
|
||||||
|
|
||||||
@@ -64,9 +61,6 @@ services:
|
|||||||
|
|
||||||
container_name: redis-development
|
container_name: redis-development
|
||||||
|
|
||||||
ports:
|
|
||||||
- "6379:6379"
|
|
||||||
|
|
||||||
command:
|
command:
|
||||||
- redis-server
|
- redis-server
|
||||||
- --requirepass
|
- --requirepass
|
||||||
|
|||||||
Reference in New Issue
Block a user