mirror of
https://github.com/tiyn/wiki.git
synced 2025-10-10 09:51:22 +02:00
restructuring to wiki-repo
This commit is contained in:
18
docker/todo/readme.md
Normal file
18
docker/todo/readme.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# Todo
|
||||
This is a dockerized todo-list webui.
|
||||
The official container and documentation was made by [prologic](https://hub.docker.com/r/pologic/todo).
|
||||
|
||||
## Volumes
|
||||
Set the following volumes with the -v tag.
|
||||
|
||||
| Volume-Name | Container mount | Description |
|
||||
| ---------------- | -------------------- | ----------------------- |
|
||||
| todo | /go/src/todo/todo.db | Database for todo list |
|
||||
|
||||
## Ports
|
||||
Set the following ports with the -p tag.
|
||||
|
||||
| Container Port | Recommended outside port | Protocol | Description |
|
||||
| -------------- | ------------------------ | -------- | ----------- |
|
||||
| 8000 | 8000 | TCP | WebUI |
|
||||
|
9
docker/todo/rebuild.sh
Executable file
9
docker/todo/rebuild.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
docker stop todo
|
||||
docker rm todo
|
||||
docker pull prologic/todo
|
||||
docker run --name todo \
|
||||
-p 8000:8000 \
|
||||
--restart unless-stopped \
|
||||
-v todo:/go/src/todo/todo.db \
|
||||
-d prologic/todo
|
Reference in New Issue
Block a user