cxz
parent
d08cf99b0f
commit
b170b9b14a
|
@ -27,7 +27,8 @@ services:
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:12.3
|
image: postgres:12.3
|
||||||
command: ["postgres", "-c", "log_statement=all"]
|
# command: ["postgres", "-c", "log_statement=all"]
|
||||||
|
# uncomment this if u wanna output all SQL queries to the console
|
||||||
volumes:
|
volumes:
|
||||||
- "./schema.sql:/docker-entrypoint-initdb.d/00-schema.sql"
|
- "./schema.sql:/docker-entrypoint-initdb.d/00-schema.sql"
|
||||||
- "./seed-db.sql:/docker-entrypoint-initdb.d/10-seed-db.sql"
|
- "./seed-db.sql:/docker-entrypoint-initdb.d/10-seed-db.sql"
|
||||||
|
|
|
@ -28,6 +28,10 @@ mkdir /songs
|
||||||
mkdir /images
|
mkdir /images
|
||||||
mkdir /videos
|
mkdir /videos
|
||||||
mkdir /audio
|
mkdir /audio
|
||||||
|
git config --global --add safe.directory /songs
|
||||||
|
git config --global --add safe.directory /images
|
||||||
|
git config --global --add safe.directory /videos
|
||||||
|
git config --global --add safe.directory /audio
|
||||||
snap install opera-proxy
|
snap install opera-proxy
|
||||||
ufw allow ssh
|
ufw allow ssh
|
||||||
ufw allow from 173.245.48.0/20
|
ufw allow from 173.245.48.0/20
|
||||||
|
|
Loading…
Reference in New Issue