Skip to content

Commit

Permalink
upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
elvizlai committed Nov 5, 2024
1 parent 7c5df4b commit fb216f1
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 12 deletions.
2 changes: 1 addition & 1 deletion envoy/dep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ apk add --virtual build_deps curl make gcc libc-dev readline-dev ncurses-dev

apk add unzip outils-md5

LUAJIT=v2.1-20240815
LUAJIT=v2.1-20241104
LUAROCKS=3.11.0

# lua-jit https://github.com/openresty/luajit2
Expand Down
2 changes: 1 addition & 1 deletion nginx/build-mainline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ apk update && apk upgrade \

OPENSSL=openssl-3.0.15
JEMALLOC=5.3.0
LUAJIT=v2.1-20240815
LUAJIT=v2.1-20241104

mkdir -p /opt/lib-src && cd /opt/lib-src

Expand Down
2 changes: 1 addition & 1 deletion nginx/build-stable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ apk update && apk upgrade \

OPENSSL=openssl-3.0.15
JEMALLOC=5.3.0
LUAJIT=v2.1-20240815
LUAJIT=v2.1-20241104

mkdir -p /opt/lib-src && cd /opt/lib-src

Expand Down
2 changes: 1 addition & 1 deletion nginx/runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ apk add --no-cache --virtual .build-deps \
gcc \
libc-dev

LUAJIT=v2.1-20240815
LUAJIT=v2.1-20241104
LUAROCKS=3.11.1

mkdir -p /tmp/lib-src && cd /tmp/lib-src
Expand Down
2 changes: 1 addition & 1 deletion pg/Dockerfile-14
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ARG POSTGIS=3.5.0+dfsg-1.pgdg110+1
ARG PGROUTING=3.6.3
ARG TIMESCALE=2.17.1
ARG SP_VAULT=0.2.9
ARG ZOMBODB=3000.2.6
ARG ZOMBODB=3000.2.7
ARG PGVECTOR=0.8.0
ARG PG_MQ=1.4.4
ARG PG_HINT_PLAN=14_1_4_3
Expand Down
2 changes: 1 addition & 1 deletion pg/Dockerfile-15
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ARG POSTGIS=3.5.0+dfsg-1.pgdg110+1
ARG PGROUTING=3.6.3
ARG TIMESCALE=2.17.1
ARG SP_VAULT=0.2.9
ARG ZOMBODB=3000.2.6
ARG ZOMBODB=3000.2.7
ARG PGVECTOR=0.8.0
ARG PG_MQ=1.4.4
ARG PG_HINT_PLAN=15_1_5_2
Expand Down
2 changes: 1 addition & 1 deletion pg/Dockerfile-16
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ARG POSTGIS=3.5.0+dfsg-1.pgdg110+1
ARG PGROUTING=3.6.3
ARG TIMESCALE=2.17.1
ARG SP_VAULT=0.2.9
ARG ZOMBODB=3000.2.6
ARG ZOMBODB=3000.2.7
ARG PGVECTOR=0.8.0
ARG PG_MQ=1.4.4
ARG PG_HINT_PLAN=16_1_6_1
Expand Down
2 changes: 1 addition & 1 deletion pg/Dockerfile-17
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ARG POSTGIS=3.5.0+dfsg-1.pgdg110+1
ARG PGROUTING=3.6.3
ARG TIMESCALE=2.17.1
ARG SP_VAULT=0.2.9
ARG ZOMBODB=3000.2.6
ARG ZOMBODB=3000.2.7
ARG PGVECTOR=0.8.0
ARG PG_MQ=1.4.4
ARG PG_HINT_PLAN=17_1_7_0
Expand Down
2 changes: 1 addition & 1 deletion pg/Dockerfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ARG POSTGIS=3.4.2+dfsg-1.pgdg110+1
ARG PGROUTING=3.6.3
ARG TIMESCALE=2.16.1
ARG SP_VAULT=0.2.9
ARG ZOMBODB=3000.2.6
ARG ZOMBODB=3000.2.7
ARG PGVECTOR=0.8.0
ARG PG_MQ=1.4.4
ARG PG_HINT_PLAN=15_1_5_1
Expand Down
20 changes: 17 additions & 3 deletions pg/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
Source

```
https://github.com/docker-library/postgres
```

Reference

```
https://pigsty.io/zh/
https://ext.pigsty.io
```

Single Node Example

```
docker run -itd \
--restart always \
Expand All @@ -14,14 +23,16 @@ docker run -itd \
```

PostgREST

```
CREATE ROLE web_anon NOLOGIN;
GRANT USAGE ON SCHEMA PUBLIC TO web_anon;
CREATE ROLE web_anon NOLOGIN;
GRANT USAGE ON SCHEMA PUBLIC TO web_anon;
GRANT SELECT ON ALL TABLES IN SCHEMA PUBLIC TO web_anon;
```

Extension
usage `psql -U postgres`

```
CREATE EXTENSION IF NOT EXISTS citus
Expand All @@ -39,11 +50,13 @@ CREATE EXTENSION IF NOT EXISTS pg_cron;
```

citus check node

```
select master_get_active_worker_nodes();
```

citus check

```
set citus.shard_replication_factor = 2;
Expand All @@ -68,8 +81,9 @@ INSERT INTO "github_events" ("event_id", "event_type", "event_public", "repo_id"
```

For pgml

```
apt install python3-pip
pip3 install xgboost
pip3 install lightgbm
```
```

0 comments on commit fb216f1

Please sign in to comment.