parent
cfa3640f2f
commit
31a1970b7c
@ -0,0 +1 @@
|
||||
.zsignore
|
@ -1,6 +1,8 @@
|
||||
docker-compose.yaml
|
||||
Containerfile
|
||||
compose.yaml
|
||||
readme.md
|
||||
build
|
||||
data
|
||||
backing-up
|
||||
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:
|
||||
jonathan.is:
|
||||
image: caddy:2.8-alpine
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Containerfile
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8081:80"
|
@ -1,19 +1,37 @@
|
||||
https://jonathan.is
|
||||
# https://jonathan.is
|
||||
|
||||
# todo
|
||||
## quickstart
|
||||
|
||||
## deploy
|
||||
- [x] push to git
|
||||
- [ ] create dockerfile for building
|
||||
- [x] create docker-compose for serving
|
||||
- [ ] forgejo post-receive hook -> docker build
|
||||
$ ssh server "git clone --bare https://git.woodbine.nyc/micro/jonathan.is.git"
|
||||
$ ssh server "cd jonathan.is.git && git show HEAD:hooks/post-receive > hooks/post-receive"
|
||||
$ git remote add server ssh://server/~jonathan.is.git
|
||||
$ git push server
|
||||
|
||||
## 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
|
||||
- [ ] setup beta.jonathan.is dns to digitalocena
|
||||
|
||||
## features
|
||||
### features
|
||||
- [ ] generate rss feed
|
||||
|
||||
## usability
|
||||
### usability
|
||||
- [ ] test in chrome
|
||||
- [ ] redirect jedahan.com
|
||||
- [ ] redirect jonathan.is
|
||||
|
Loading…
Reference in new issue