[add] docker-registry
This commit is contained in:
parent
9c4ae85337
commit
bcbcceb232
1
docker-registry/README.md
Normal file
1
docker-registry/README.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
https://joxit.dev/docker-registry-ui/
|
19
docker-registry/docker-compose.yml
Normal file
19
docker-registry/docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
docker-registry:
|
||||||
|
image: registry:2
|
||||||
|
container_name: docker-registry
|
||||||
|
ports:
|
||||||
|
- 5000:5000
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ./docker-registry:/var/lib/registry
|
||||||
|
|
||||||
|
docker-registry-ui:
|
||||||
|
image: konradkleine/docker-registry-frontend:v2
|
||||||
|
container_name: docker-registry-ui
|
||||||
|
ports:
|
||||||
|
- 8080:80
|
||||||
|
environment:
|
||||||
|
ENV_DOCKER_REGISTRY_HOST: docker-registry
|
||||||
|
ENV_DOCKER_REGISTRY_PORT: 5000
|
@ -1,25 +0,0 @@
|
|||||||
# TiddlyWiki Docker
|
|
||||||
Run TiddlyWiki 5 via Docker and Docker Compose
|
|
||||||
|
|
||||||
## QuickStart
|
|
||||||
You should install [Docker](https://www.docker.com/) and [Docker Compose](https://docs.docker.com/compose/) first.
|
|
||||||
|
|
||||||
```shell
|
|
||||||
cp .env-example .env
|
|
||||||
docker-compose up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
Now TiddlyWiki should be running on http://localhost:8080.
|
|
||||||
|
|
||||||
## Data
|
|
||||||
The directory `./wiki-data` is used for all the data.
|
|
||||||
|
|
||||||
## Auth
|
|
||||||
default: `user` / `wiki`
|
|
||||||
Modify `.env` file to customize
|
|
||||||
|
|
||||||
## ToDo
|
|
||||||
- [ ] Backup Data Automatically: sync `./wiki-data` with Object Storage Service (Like Amazon S3)
|
|
||||||
|
|
||||||
## Related Repo
|
|
||||||
* https://github.com/djmaze/tiddlywiki-docker
|
|
Loading…
Reference in New Issue
Block a user