File tree Expand file tree Collapse file tree 3 files changed +32
-7
lines changed Expand file tree Collapse file tree 3 files changed +32
-7
lines changed Original file line number Diff line number Diff line change @@ -124,13 +124,13 @@ CLICKHOUSE_DATABASE=default
124124# ORACLE_DATABASE=_
125125# ORACLE_SERVICE_NAME=_
126126
127- # postgres
128- # DB_TYPE=postgres
129- # POSTGRES_HOST =_
130- # POSTGRES_PORT =5432
131- # POSTGRES_USER =_
132- # POSTGRES_PASSWORD =_
133- # POSTGRES_DATABASE =_
127+ # postgresql
128+ # DB_TYPE=postgresql
129+ # POSTGRESQL_HOST =_
130+ # POSTGRESQL_PORT =5432
131+ # POSTGRESQL_USER =_
132+ # POSTGRESQL_PASSWORD =_
133+ # POSTGRESQL_DATABASE =_
134134
135135# snowflake
136136# DB_TYPE=snowflake
Original file line number Diff line number Diff line change 1+ # docker compose -f docker-compose-postgres.yml up
2+ # docker compose -f docker-compose-postgres.yml down
3+
4+ services :
5+ postgres :
6+ image : postgres:15
7+ hostname : postgres
8+ container_name : postgres
9+ restart : always
10+ ports :
11+ - " 5432:5432"
12+ environment :
13+ POSTGRES_USER : root
14+ POSTGRES_PASSWORD : rootpassword
15+ POSTGRES_DB : postgres
16+ TZ : Asia/Seoul
17+ LANG : en_US.utf8
18+ volumes :
19+ - postgres_data:/var/lib/postgresql/data
20+ - ./postgres/init:/docker-entrypoint-initdb.d/init.sql
21+
22+ volumes :
23+ postgres_data :
Original file line number Diff line number Diff line change 1+ CREATE DATABASE lang2sql ;
2+ CREATE USER lang2sql WITH PASSWORD ' lang2sqlpassword' ;
You can’t perform that action at this time.
0 commit comments