Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F10528964
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
View Options
diff --git a/docker-setup.sh b/docker-setup.sh
index b7d74c5..bbb518f 100755
--- a/docker-setup.sh
+++ b/docker-setup.sh
@@ -1,23 +1,22 @@
#! /bin/bash
# this script will configure and intialize the persitent data needed
# for a writefreely instance using the docker-compose.yml in this repo
# start database
-docker run -d --volume=writefreely_db-data:/var/lib/mysql \
+docker run --rm -d --volume=writefreely_db-data:/var/lib/mysql \
--name=db \
-e "MYSQL_DATABASE=writefreely" \
-e "MYSQL_ROOT_PASSWORD=changeme" \
-p 3306:3306 \
mariadb:latest
# create new asset signing keys
-docker run --volume=writefreely_web-data:/home/writefreely writeas/writefreely:latest "-gen-keys"
+docker run --rm --volume=writefreely_web-data:/home/writefreely writeas/writefreely:latest "-gen-keys"
# generate new configuration and initialize database
-docker run -it --volume=writefreely_web-data:/home/writefreely \
+docker run --rm -it --volume=writefreely_web-data:/home/writefreely \
--link db:db \
writeas/writefreely:latest "-config"
# clean up detached database container
-docker container stop db
-docker container rm db
\ No newline at end of file
+docker container stop db
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Apr 6, 8:29 AM (9 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3188810
Attached To
rWF WriteFreely
Event Timeline
Log In to Comment