File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Windows thumbnail cache files
2+ Thumbs.db
3+ ehthumbs.db
4+ ehthumbs_vista.db
5+
6+ # Folder config file
7+ Desktop.ini
8+
9+ # Recycle Bin used on file shares
10+ $RECYCLE.BIN /
11+
12+ # Windows Installer files
13+ * .cab
14+ * .msi
15+ * .msm
16+ * .msp
17+
18+ # Windows shortcuts
19+ * .lnk
20+
21+ # Python Cache
22+ __pycache__
23+
24+ # Operating System Files
25+ .DS_Store
26+ .idea
27+ * .log
28+ * .pyc
29+ * .tgz
30+ * .gz
31+ * .db
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ ADD --chmod=755 scripts/002_initialization.sh /docker-entrypoint-initdb.d/002_in
1616
1717USER root
1818
19- RUN rm -rf /usr/lib/postgresql/12 /usr/lib/postgresql/13 \
19+ RUN rm -rf /usr/lib/postgresql/12 /usr/lib/postgresql/13 \
2020 && mkdir -p /var/lib/postgresql/data /var/lib/postgresql/ts/data \
21- && chown -R postgres /var/lib/postgresql/data /var/lib/postgresql/ts/data \
21+ && chown -R postgres /var/lib/postgresql/data /var/lib/postgresql/ts/data
2222
2323USER postgres
Original file line number Diff line number Diff line change 33# All rights reserved.
44
55# Create SSL cert
6- openssl req -x509 -newkey rsa:4096 -nodes -subj " /C=US/ST=CA/L=Seattle/O=OpenBMP /CN=localhost" \
6+ openssl req -x509 -newkey rsa:4096 -nodes -subj " /C=US/ST=CA/L=Seattle/O=BGPDATA /CN=localhost" \
77 -keyout $PGDATA /psql_server.key -out $PGDATA /psql_server.crt -days 2048 \
88
99# Init timeseries location
Original file line number Diff line number Diff line change 22# Copyright (c) 2021-2022 Cisco Systems, Inc. and others.
33# All rights reserved.
44
5- # Required: Execute 004_obmp_psql_cfg.sh for preload configuration before adding extensions
6-
75# Add extensions
86psql -U $POSTGRES_USER -c " CREATE EXTENSION IF NOT EXISTS postgis CASCADE;" $POSTGRES_DB
97psql -U $POSTGRES_USER -c " CREATE EXTENSION IF NOT EXISTS pgrouting CASCADE;" $POSTGRES_DB
108
119# Add cron extension and config
1210psql -U $POSTGRES_USER -c " CREATE EXTENSION IF NOT EXISTS pg_cron;" $POSTGRES_DB
13- psql -U $POSTGRES_USER -c " GRANT USAGE ON SCHEMA cron TO $POSTGRES_USER ;" $POSTGRES_DB
14-
11+ psql -U $POSTGRES_USER -c " GRANT USAGE ON SCHEMA cron TO $POSTGRES_USER ;" $POSTGRES_DB
You can’t perform that action at this time.
0 commit comments