vault backup: 2025-01-17 22:09:47
This commit is contained in:
parent
7da285fc20
commit
789bc8d52a
2 changed files with 14 additions and 9 deletions
|
@ -99,10 +99,13 @@ environment:
|
||||||
### Environment Variables
|
### Environment Variables
|
||||||
|
|
||||||
| Variable | Description | Default Value |
|
| Variable | Description | Default Value |
|
||||||
| -------------------- | -------------------------------------------- | ------------------------------------------------ |
|
| -------------------- | -------------------------------------------- | ---------------------------------------------------- |
|
||||||
| `USER_ID`/`GROUP_ID` | UID/GID that` /quartz` will be chown'd to. | `1000`:`1000` |
|
| `USER_ID`/`GROUP_ID` | UID/GID that` /quartz` will be chown'd to. | `1000`:`1000` |
|
||||||
| `NGINX_PORT` | Port for the Nginx server | `80` |
|
| `NGINX_PORT` | Port for the Nginx server | `80` |
|
||||||
| `SERVER_NAME` | NGINX server name | `quartz.zhao.xyz` |
|
| `SERVER_NAME` | NGINX server name | `quartz.zhao.xyz` |
|
||||||
| `ENABLE_CRON` | Enables scheduled builds (`true` or `false`) | `false` |
|
| `ENABLE_CRON` | Enables scheduled builds (`true` or `false`) | `false` |
|
||||||
| `BUILD_SCHEDULE` | Cron expression for scheduling site builds | `"*/10 * * * *"` every 10 min |
|
| `BUILD_SCHEDULE` | Cron expression for scheduling site builds | `"*/10 * * * *"` every 10 min |
|
||||||
| `CONTENT_REPO` | URL of the content repository | `git@git.modernleft.org:gravityfargo/empty.git` |
|
| `CONTENT_REPO` | URL of the content repository | `https://code.modernleft.org/gravityfargo/empty.git` |
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> `CONTENT_REPO` Must use https, not git.
|
||||||
|
|
|
@ -14,7 +14,9 @@ git clone git@git.modernleft.org:gravityfargo/quartz-docker.git
|
||||||
git clone git@github.com:jackyzha0/quartz.git
|
git clone git@github.com:jackyzha0/quartz.git
|
||||||
cd quartz-docker
|
cd quartz-docker
|
||||||
make run
|
make run
|
||||||
ln -s ~/Repositories/quartz/src ~/Repositories/quartz-docker/quartz/src
|
# ctrl-c
|
||||||
|
rm -rf ~/Repositories/quartz-docker/quartz/src/quartz/components
|
||||||
|
ln -sf ~/Repositories/quartz/quartz/components ~/Repositories/quartz-docker/quartz/src/quartz
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, you can run the container with the following command:
|
Then, you can run the container with the following command:
|
||||||
|
|
Loading…
Reference in a new issue