File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 11FROM postgres:17
22
3+
4+ ARG HTTP_PROXY
5+ ARG HTTPS_PROXY
6+ ARG NO_PROXY
7+
8+ ENV HTTP_PROXY=$HTTP_PROXY
9+ ENV HTTPS_PROXY=$HTTPS_PROXY
10+ ENV NO_PROXY=$NO_PROXY
11+
312# Install the necessary packages for plpython3u
413RUN apt-get update && apt-get install -y \
514 postgresql-plpython3-17 postgresql-17-pg-qualstats python3-psutil \
Original file line number Diff line number Diff line change @@ -4,10 +4,17 @@ services:
44 build :
55 context : ..
66 dockerfile : ./docker/Dockerfile
7+ args :
8+ HTTP_PROXY : ${HTTP_PROXY}
9+ HTTPS_PROXY : ${HTTPS_PROXY}
10+ NO_PROXY : ${NO_PROXY}
711 image : cybertecpostgresql/pgwatch:latest
812 container_name : pgwatch
913 environment :
1014 PW_SOURCES : postgresql://pgwatch@postgres:5432/pgwatch
15+ HTTP_PROXY : ${HTTP_PROXY}
16+ HTTPS_PROXY : ${HTTPS_PROXY}
17+ NO_PROXY : ${NO_PROXY}
1118 command :
1219 - " --sink=postgresql://pgwatch@postgres:5432/pgwatch_metrics"
1320 - " --sink=prometheus://pgwatch:9187/pgwatch"
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ services:
66 build :
77 context : .
88 dockerfile : Dockerfile.postgres-plpython3u
9+ args :
10+ HTTP_PROXY : $HTTP_PROXY
11+ HTTPS_PROXY : $HTTPS_PROXY
12+ NO_PROXY : $NO_PROXY
913 # If you want pure PostgreSQL vanilla experience use:
1014 # image: &pgimage "postgres:latest"
1115 image : &pgimage postgres-plpython3u:latest
@@ -19,6 +23,9 @@ services:
1923 - " 5432:5432"
2024 environment :
2125 POSTGRES_HOST_AUTH_METHOD : trust
26+ HTTP_PROXY : $HTTP_PROXY
27+ HTTPS_PROXY : $HTTPS_PROXY
28+ NO_PROXY : $NO_PROXY
2229 volumes :
2330 - " ./bootstrap/init_replication.sh:/docker-entrypoint-initdb.d/init_replication.sh"
2431 - " ./bootstrap/create_role_db.sql:/docker-entrypoint-initdb.d/create_role_db.sql"
You can’t perform that action at this time.
0 commit comments