Skip to content

Commit

Permalink
update domain placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
keakon committed Nov 1, 2022
1 parent bd2c28e commit 94194e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ Then you can open [http://0.0.0.0:8080](http://0.0.0.0:8080) to check it.
$ cp Doodle/docker-compose.yml doodle/docker-compose.yml
$ cp -r Doodle/conf doodle/conf
```
4. Start docker compose:
4. Replace "localhost" into your own domain in conf/Caddyfile.
5. Start docker compose:
```bash
$ cd doodle
$ docker compose up -d
Expand Down
2 changes: 1 addition & 1 deletion conf/Caddyfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
keakon.net, www.keakon.net, lnnl.ml {
localhost {
handle_path /static/* {
root * /proc/1/root/root/Doodle/doodle/static
file_server {
Expand Down
2 changes: 1 addition & 1 deletion doodle/templates/web/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<?py if page not in ('404', '500', 'profile'): ?>
<p class="backtotop"><a href="#">▲Top</a></p>
<?py #endif ?>
<p class="credits">©<a href="#{{CONFIG.BLOG_HOME_RELATIVE_PATH}}">${{CONFIG.BLOG_TITLE}}</a><span></span>Powered by <a href="https://github.com/keakon/Doodle">Doodle</a><span></span>Designed by <a href="//www.keakon.net">keakon</a></p>
<p class="credits">©<a href="#{{CONFIG.BLOG_HOME_RELATIVE_PATH}}">${{CONFIG.BLOG_TITLE}}</a><span></span>Powered by <a href="https://github.com/keakon/Doodle">Doodle</a><span></span>Designed by <a href="https://github.com/keakon">keakon</a></p>
</footer>
</div>
</div>
Expand Down

0 comments on commit 94194e0

Please sign in to comment.