Fix docker image name (#8058)
This commit is contained in:
parent
d819b55038
commit
16681cb648
|
@ -5,7 +5,7 @@ DATA_DIR=$SOURCE_DIR/data/postgres
|
||||||
|
|
||||||
# Should this also run /etc/runit/1.d/ensure_database, or will that
|
# Should this also run /etc/runit/1.d/ensure_database, or will that
|
||||||
# happen automatically? -- It will happen, but restarting the container is required
|
# happen automatically? -- It will happen, but restarting the container is required
|
||||||
docker run -it -v $DATA_DIR:/shared/postgres_data discourse/dev /bin/bash -c "rm -fr /shared/postgres_data/*"
|
docker run -it -v $DATA_DIR:/shared/postgres_data discourse/discourse_dev:release /bin/bash -c "rm -fr /shared/postgres_data/*"
|
||||||
docker restart discourse_dev
|
docker restart discourse_dev
|
||||||
echo "Creating admin user..."
|
echo "Creating admin user..."
|
||||||
"${SCRIPTPATH}/rake" admin:create
|
"${SCRIPTPATH}/rake" admin:create
|
||||||
|
|
Loading…
Reference in New Issue