remove postgres from docker compose
This commit is contained in:
parent
8bb9b91f50
commit
12104dd3c9
@ -8,25 +8,25 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
- .env_prod
|
- .env_prod
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
# postgres:
|
||||||
condition: service_started
|
# condition: service_started
|
||||||
redis:
|
redis:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
|
|
||||||
|
#
|
||||||
postgres:
|
# postgres:
|
||||||
image: postgres:13
|
# image: postgres:13
|
||||||
container_name: postgres
|
# container_name: postgres
|
||||||
restart: unless-stopped
|
# restart: unless-stopped
|
||||||
environment:
|
# environment:
|
||||||
POSTGRES_DB: postgres
|
# POSTGRES_DB: postgres
|
||||||
POSTGRES_USER: postgres
|
# POSTGRES_USER: postgres
|
||||||
POSTGRES_PASSWORD: jkjklkjqpnn34234
|
# POSTGRES_PASSWORD: jkjklkjqpnn34234
|
||||||
ports:
|
# ports:
|
||||||
- "9151:5432"
|
# - "9151:5432"
|
||||||
volumes:
|
# volumes:
|
||||||
- ./docker/postgres/data:/var/lib/postgresql/data
|
# - ./docker/postgres/data:/var/lib/postgresql/data
|
||||||
- ./sql_scripts/create_table.sql:/docker-entrypoint-initdb.d/create_table.sql
|
# - ./sql_scripts/create_table.sql:/docker-entrypoint-initdb.d/create_table.sql
|
||||||
|
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user