added initial docker setup for running NGAS locally
3 unresolved threads
3 unresolved threads
Merge request reports
Activity
22 22 POSTGRES_PASSWORD: docker 23 23 command: postgres -c listen_addresses=* 24 24 25 db-ngas: changed this line in version 2 of the diff
added 1 commit
- 1d40d389 - added script to initialize ngas db in the existing postgres container
- ci/psql/init_ngas_db.sh 0 → 100755
1 #!/bin/bash 2 3 set -e 4 set -o pipefail 5 6 DB=ngas 7 PATH_TO_SQL_FILE=/repos/ngas/src/ngamsCore/ngamsSql/ngamsCreateTables-PostgreSQL.sql 8 9 echo "Creating database '$DB' " 10 11 psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL changed this line in version 3 of the diff
- ci/psql/init_ngas_db.sh 0 → 100755
1 #!/bin/bash 2 3 set -e 4 set -o pipefail 5 6 DB=ngas 7 PATH_TO_SQL_FILE=/repos/ngas/src/ngamsCore/ngamsSql/ngamsCreateTables-PostgreSQL.sql 8 9 echo "Creating database '$DB' " 10 11 psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL 12 CREATE DATABASE $DB; 13 GRANT ALL PRIVILEGES ON DATABASE $DB TO archive; 14 EOSQL 15 16 psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname $DB < $PATH_TO_SQL_FILE changed this line in version 3 of the diff
added 1 commit
- 0d7d23d0 - simplified psql commands based on comments from Daniel
added 9 commits
-
0d7d23d0...490f86ab - 6 commits from branch
main
- 0e23fbdd - added initial docker setup for running NGAS locally
- 0b989d1f - added script to initialize ngas db in the existing postgres container
- a5f9503d - simplified psql commands based on comments from Daniel
Toggle commit list-
0d7d23d0...490f86ab - 6 commits from branch
added 7 commits
-
a5f9503d...260a8321 - 4 commits from branch
main
- 29f55534 - added initial docker setup for running NGAS locally
- 107c4f39 - added script to initialize ngas db in the existing postgres container
- a9a9f04d - simplified psql commands based on comments from Daniel
Toggle commit list-
a5f9503d...260a8321 - 4 commits from branch
Please register or sign in to reply