mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-18 08:05:02 +00:00
minicharge.keiu.net → minicharge.fly.dev
This commit is contained in:
parent
d2ce3006b1
commit
fc222b5e60
5 changed files with 1 additions and 17 deletions
|
@ -1 +0,0 @@
|
|||
#DATABASE_URL=
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +0,0 @@
|
|||
/.env
|
|
@ -5,7 +5,6 @@
|
|||
- Docker Compose
|
||||
- systemd
|
||||
- systemd-journald
|
||||
- PostgreSQL
|
||||
|
||||
Git リポジトリを取得し、設定ファイルを配置
|
||||
|
||||
|
@ -15,8 +14,6 @@ git clone git@github.com:kou029w/keiu.net.git
|
|||
cd keiu.net
|
||||
sudo install -m 644 {,/}etc/docker/daemon.json
|
||||
sudo systemctl restart docker
|
||||
cp .env{.example,}
|
||||
editor .env # PostgreSQL接続URLを設定
|
||||
```
|
||||
|
||||
## 構築
|
||||
|
|
11
compose.yml
11
compose.yml
|
@ -11,16 +11,6 @@ services:
|
|||
- ./srv:/srv
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
- minicharge_tmp:/tmp/minicharge
|
||||
minicharge:
|
||||
image: miniflux/miniflux:2.0.37@sha256:0a768ab76a1e8e0f03b1a29d9a8424eb60af71af937da35677e87d5a4ef65bf6
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
LISTEN_ADDR: /tmp/miniflux.sock
|
||||
DATABASE_URL: ${DATABASE_URL}
|
||||
RUN_MIGRATIONS: "1"
|
||||
volumes:
|
||||
- minicharge_tmp:/tmp
|
||||
dns.keiu.net:
|
||||
image: coredns/coredns:1.9.3@sha256:8e352a029d304ca7431c6507b56800636c321cb52289686a581ab70aaa8a2e2a
|
||||
restart: unless-stopped
|
||||
|
@ -37,4 +27,3 @@ services:
|
|||
volumes:
|
||||
caddy_data:
|
||||
caddy_config:
|
||||
minicharge_tmp:
|
||||
|
|
|
@ -10,7 +10,7 @@ www.keiu.net {
|
|||
redir https://keiu.net{uri} 308
|
||||
}
|
||||
minicharge.keiu.net {
|
||||
reverse_proxy unix//tmp/minicharge/miniflux.sock
|
||||
redir https://minicharge.fly.dev permanent
|
||||
}
|
||||
dns.keiu.net {
|
||||
reverse_proxy https://dns.keiu.net
|
||||
|
|
Loading…
Add table
Reference in a new issue