mirror of https://github.com/writeas/writefreely
Merge pull request #29 from BenOvermyer/improve-docker-workflow
Improved the Docker dev workflow slightly.pull/32/head
commit
f7cc3764d0
@ -0,0 +1,26 @@ |
||||
[server] |
||||
hidden_host = |
||||
port = 8080 |
||||
|
||||
[database] |
||||
type = mysql |
||||
username = root |
||||
password = changeme |
||||
database = writefreely |
||||
host = db |
||||
port = 3306 |
||||
|
||||
[app] |
||||
site_name = Write Freely Example Blog! |
||||
host = http://localhost:8080 |
||||
theme = write |
||||
disable_js = false |
||||
webfonts = true |
||||
single_user = true |
||||
open_registration = false |
||||
min_username_len = 3 |
||||
max_blogs = 1 |
||||
federation = true |
||||
public_stats = true |
||||
private = false |
||||
|
@ -0,0 +1,4 @@ |
||||
#!/bin/bash |
||||
docker-compose exec db sh -c 'exec mysql -u root -pchangeme writefreely < /tmp/schema.sql' |
||||
docker exec writefreely_web_1 writefreely --gen-keys |
||||
docker exec -it writefreely_web_1 writefreely --config |
Loading…
Reference in new issue