Skip to content

Commit

Permalink
seed db
Browse files Browse the repository at this point in the history
  • Loading branch information
punkrokk committed Sep 17, 2019
1 parent e001c99 commit 14403ef
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ services:
# irflow_metabase named volume containing PostgreSQL database
volumes:
- syncurity_st2:/var/lib/pgsql/data
- syn_st2_datastore.d:/docker-entrypoint-initdb.d



volumes:
syncurity_st2:

4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ services:
POSTGRESQL_USER: ${POSTGRESQL_USER}
POSTGRESQL_PASSWORD: ${POSTGRESQL_PASSWORD}

volumes:
- syn_st2_datastore.d:/docker-entrypoint-initdb.d


networks:
Expand All @@ -39,3 +41,5 @@ networks:
config:
- subnet: ${SYNCURITY_ST2_NETWORK_SUBNET}

volumes:
syn_st2_datastore.d:
2 changes: 1 addition & 1 deletion prod_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ docker logs syncurity_postgresql

# while not docker logs metabase_web | grep
until [[ $(docker logs syncurity_postgresql | grep COMPLETE) ]]; do
print "$(docker logs syncurity_postgresql | grep COMPLETE)"
echo "$(docker logs syncurity_postgresql | grep COMPLETE)"
done

echo "Complete"
File renamed without changes.

0 comments on commit 14403ef

Please sign in to comment.