Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
haobibo committed Apr 15, 2024
1 parent 3f9a288 commit 8d32000
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions docker_postgres/demo/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: '3.7'

services:
db-postgres:
# su postgres && psql -d casdoor -U pg-casdoor-username
image: qpod0dev/postgres-ext
container_name: db-postgres
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres

svc-jupyter:
image: quay.io/jupyter/minimal-notebook
container_name: dev-jupyter
ports:
- 8888:8888
depends_on:
- db-postgres
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ls -alh /usr/share/postgresql/${PG_MAJOR}/extension/*.control

mkdir -pv ${PGDATA}/conf.d
echo "include_dir='./conf.d'" >> ${PGDATA}/postgresql.conf
mv /opt/utils/pg-ext.conf ${PGDATA}/conf.d/
sudo mv /opt/utils/pg-ext.conf ${PGDATA}/conf.d/

cat ${PGDATA}/conf.d/*
cat ${PGDATA}/postgresql.conf
Expand Down

0 comments on commit 8d32000

Please sign in to comment.