mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-02-23 09:29:30 +01:00
Add demos
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
951d1130b0
commit
9a6ac97872
12
README.md
12
README.md
@ -74,7 +74,7 @@ And then, caddy will generate the certificate for you and renew it automatically
|
||||
|
||||
| Domain name | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [bensuperpc.org](https://bensuperpc.org) | Main | Redirect to www.bensuperpc.org |
|
||||
| [bensuperpc.org](https://bensuperpc.org) | Main | Redirect to [www.bensuperpc.org](https://www.bensuperpc.org) |
|
||||
| [www.bensuperpc.org](https://www.bensuperpc.org) | Main | Homepage |
|
||||
| [wordpress.bensuperpc.org](https://wordpress.bensuperpc.org) | Sub | Wordpress website |
|
||||
| [uptimekuma.bensuperpc.org](https://uptimekuma.bensuperpc.org) | Sub | Uptime Kuma for monitoring |
|
||||
@ -92,10 +92,11 @@ And then, caddy will generate the certificate for you and renew it automatically
|
||||
| [picoshare.bensuperpc.org](https://picoshare.bensuperpc.org) | Sub | Picoshare for file sharing |
|
||||
| [dufs.bensuperpc.org](https://dufs.bensuperpc.org) | Sub | Dufs for file sharing |
|
||||
| [public.bensuperpc.org](https://public.bensuperpc.org) | Sub | Caddy for file sharing |
|
||||
| bensuperpc.com | Main | Redirect to www.bensuperpc.org |
|
||||
| bensuperpc.fr | Main | Redirect to www.bensuperpc.org |
|
||||
| bensuperpc.net | Main | Redirect to www.bensuperpc.org |
|
||||
| bensuperpc.ovh | Main | Redirect to www.bensuperpc.org |
|
||||
| [memos.bensuperpc.org](https://memos.bensuperpc.org) | Sub | Caddy for file sharing |
|
||||
| bensuperpc.com | Main | Redirect to [www.bensuperpc.org](https://www.bensuperpc.org) |
|
||||
| bensuperpc.fr | Main | Redirect to [www.bensuperpc.org](https://www.bensuperpc.org) |
|
||||
| bensuperpc.net | Main | Redirect to [www.bensuperpc.org](https://www.bensuperpc.org) |
|
||||
| bensuperpc.ovh | Main | Redirect to [www.bensuperpc.org](https://www.bensuperpc.org) |
|
||||
|
||||
### Configure the infrastructure
|
||||
|
||||
@ -292,6 +293,7 @@ ssh -p 2222 admin@bensuperpc.org
|
||||
- [ProjectSend](https://www.projectsend.org/)
|
||||
- [Picoshare](https://github.com/mtlynch/picoshare)
|
||||
- [Dufs](https://github.com/sigoden/dufs)
|
||||
- [demos](https://github.com/usememos/memos)
|
||||
- [Fix docker volume](https://pratikpc.medium.com/use-docker-compose-named-volumes-as-non-root-within-your-containers-1911eb30f731)
|
||||
|
||||
## License
|
||||
|
@ -134,6 +134,10 @@ stirlingpdf.bensuperpc.org {
|
||||
reverse_proxy stirlingpdf:8080
|
||||
}
|
||||
|
||||
memos.bensuperpc.org {
|
||||
reverse_proxy memos:5230
|
||||
}
|
||||
|
||||
link.bensuperpc.org {
|
||||
# TODO: Use service with database
|
||||
# Friendly links
|
||||
|
22
infrastructure/services/memos/docker-compose.memos.yml
Normal file
22
infrastructure/services/memos/docker-compose.memos.yml
Normal file
@ -0,0 +1,22 @@
|
||||
services:
|
||||
# memos
|
||||
memos:
|
||||
image: neosmemo/memos:latest
|
||||
container_name: memos
|
||||
profiles:
|
||||
- memos
|
||||
restart: on-failure:5
|
||||
depends_on:
|
||||
- caddy
|
||||
env_file:
|
||||
- ./env/memos.env
|
||||
volumes:
|
||||
- memos_config:/var/opt/memos
|
||||
networks:
|
||||
- infra-network
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
|
||||
volumes:
|
||||
memos_config:
|
||||
name: memos_config
|
1
infrastructure/services/memos/env/memos.env
vendored
Normal file
1
infrastructure/services/memos/env/memos.env
vendored
Normal file
@ -0,0 +1 @@
|
||||
|
Loading…
x
Reference in New Issue
Block a user