parent
cfa3640f2f
commit
31a1970b7c
@ -0,0 +1 @@
|
|||||||
|
.zsignore
|
@ -1,6 +1,8 @@
|
|||||||
docker-compose.yaml
|
Containerfile
|
||||||
|
compose.yaml
|
||||||
readme.md
|
readme.md
|
||||||
build
|
|
||||||
data
|
data
|
||||||
backing-up
|
backing-up
|
||||||
rss
|
rss
|
||||||
|
hooks
|
||||||
|
hooks
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
FROM prologic/zs AS build
|
||||||
|
COPY . .
|
||||||
|
RUN zs build --production
|
||||||
|
|
||||||
|
FROM caddy/caddy:2.8-alpine
|
||||||
|
COPY --from=build /data/.pub:/usr/share/caddy
|
@ -1,6 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
jonathan.is:
|
jonathan.is:
|
||||||
image: caddy:2.8-alpine
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Containerfile
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "8081:80"
|
- "8081:80"
|
@ -1,19 +1,37 @@
|
|||||||
https://jonathan.is
|
# https://jonathan.is
|
||||||
|
|
||||||
# todo
|
## quickstart
|
||||||
|
|
||||||
## deploy
|
$ ssh server "git clone --bare https://git.woodbine.nyc/micro/jonathan.is.git"
|
||||||
- [x] push to git
|
$ ssh server "cd jonathan.is.git && git show HEAD:hooks/post-receive > hooks/post-receive"
|
||||||
- [ ] create dockerfile for building
|
$ git remote add server ssh://server/~jonathan.is.git
|
||||||
- [x] create docker-compose for serving
|
$ git push server
|
||||||
- [ ] forgejo post-receive hook -> docker build
|
|
||||||
|
## manual install
|
||||||
|
|
||||||
|
build
|
||||||
|
|
||||||
|
podman build . --tag jonathan.is
|
||||||
|
|
||||||
|
run
|
||||||
|
|
||||||
|
podman compose up
|
||||||
|
|
||||||
|
deploy
|
||||||
|
|
||||||
|
git push server
|
||||||
|
|
||||||
|
## todo
|
||||||
|
|
||||||
|
### deploy
|
||||||
|
- [ ] forgejo (or git?) post-receive hook -> docker build
|
||||||
- [ ] proxy nginx on digitalocean
|
- [ ] proxy nginx on digitalocean
|
||||||
- [ ] setup beta.jonathan.is dns to digitalocena
|
- [ ] setup beta.jonathan.is dns to digitalocena
|
||||||
|
|
||||||
## features
|
### features
|
||||||
- [ ] generate rss feed
|
- [ ] generate rss feed
|
||||||
|
|
||||||
## usability
|
### usability
|
||||||
- [ ] test in chrome
|
- [ ] test in chrome
|
||||||
- [ ] redirect jedahan.com
|
- [ ] redirect jedahan.com
|
||||||
- [ ] redirect jonathan.is
|
- [ ] redirect jonathan.is
|
||||||
|
Loading…
Reference in new issue