Reorder sections

This commit is contained in:
Mo 2024-01-02 15:38:55 +01:00
parent 3e5a44f8b6
commit 4df2fb1391
8 changed files with 50 additions and 20 deletions

View file

@ -1,7 +1,3 @@
[Unit]
Requires=lldap.service
After=lldap.service
[Container] [Container]
Image=codeberg.org/forgejo/forgejo:1.21 Image=codeberg.org/forgejo/forgejo:1.21
AutoUpdate=registry AutoUpdate=registry
@ -9,6 +5,10 @@ Network=traefik.network
PublishPort=2222:2222 PublishPort=2222:2222
Volume=%h/volumes/forgejo/data:/data:Z Volume=%h/volumes/forgejo/data:/data:Z
[Unit]
Requires=lldap.service
After=lldap.service
[Service] [Service]
Restart=always Restart=always

View file

@ -1,7 +1,3 @@
[Unit]
Requires=hedgedoc-db.service
After=hedgedoc-db.service
[Container] [Container]
Image=quay.io/hedgedoc/hedgedoc:latest Image=quay.io/hedgedoc/hedgedoc:latest
AutoUpdate=registry AutoUpdate=registry
@ -25,6 +21,10 @@ Environment=CMD_ALLOW_ANONYMOUS_EDITS=true
Environment=CMD_DEFAULT_PERMISSION=freely Environment=CMD_DEFAULT_PERMISSION=freely
Environment=CMD_DOMAIN=pads.mo8it.com Environment=CMD_DOMAIN=pads.mo8it.com
[Unit]
Requires=hedgedoc-db.service
After=hedgedoc-db.service
[Service] [Service]
Restart=always Restart=always

View file

@ -6,7 +6,17 @@ mkdir -p ~/volumes/$container_name
podman run \ podman run \
--rm \ --rm \
--pull newer \
-v ~/code/juna-li.com:/volumes/src:Z \
-w /volumes/src \
docker.io/library/node:slim bash -c "npm add tailwindcss && npx tailwindcss -m -i input.css -o static/main.css"
podman run \
--rm \
--pull newer \
-v ~/code/juna-li.com:/volumes/src:Z,ro \ -v ~/code/juna-li.com:/volumes/src:Z,ro \
-v ~/volumes/$container_name:/volumes/output:Z \ -v ~/volumes/$container_name:/volumes/output:Z \
-w /volumes/src \ -w /volumes/src \
ghcr.io/getzola/zola:v0.18.0 build -o /volumes/output/public -f ghcr.io/getzola/zola:v0.18.0 build -o /volumes/output/public -f
systemctl --user restart juna-li-com

View file

@ -6,7 +6,17 @@ mkdir -p ~/volumes/$container_name
podman run \ podman run \
--rm \ --rm \
--pull newer \
-v ~/code/mo8it.com:/volumes/src:Z \
-w /volumes/src \
docker.io/library/node:slim bash -c "npm add tailwindcss && npx tailwindcss -m -i input.css -o static/main.css"
podman run \
--rm \
--pull newer \
-v ~/code/mo8it.com:/volumes/src:Z,ro \ -v ~/code/mo8it.com:/volumes/src:Z,ro \
-v ~/volumes/$container_name:/volumes/output:Z \ -v ~/volumes/$container_name:/volumes/output:Z \
-w /volumes/src \ -w /volumes/src \
ghcr.io/getzola/zola:v0.18.0 build -o /volumes/output/public -f ghcr.io/getzola/zola:v0.18.0 build -o /volumes/output/public -f
systemctl --user restart mo8it-com

View file

@ -1,7 +1,3 @@
[Unit]
Requires=nextcloud-db.service lldap.service
After=nextcloud-db.service lldap.service
[Container] [Container]
Image=docker.io/library/nextcloud:28-apache Image=docker.io/library/nextcloud:28-apache
AutoUpdate=registry AutoUpdate=registry
@ -11,6 +7,10 @@ Volume=%h/volumes/nextcloud/nextcloud:/var/www/html:Z
EnvironmentFile=%h/volumes/nextcloud/.postgres.env EnvironmentFile=%h/volumes/nextcloud/.postgres.env
Environment=POSTGRES_HOST=systemd-nextcloud-db Environment=POSTGRES_HOST=systemd-nextcloud-db
[Unit]
Requires=nextcloud-db.service lldap.service
After=nextcloud-db.service lldap.service
[Service] [Service]
Restart=always Restart=always

View file

@ -1,7 +1,3 @@
[Unit]
Requires=oxitraffic-corrode-dev-db.service
After=oxitraffic-corrode-dev-db.service
[Container] [Container]
Image=docker.io/mo8it/oxitraffic:latest Image=docker.io/mo8it/oxitraffic:latest
AutoUpdate=registry AutoUpdate=registry
@ -9,6 +5,10 @@ Network=traefik.network
Volume=%h/volumes/oxitraffic-corrode-dev/config.toml:/volumes/config.toml:Z,ro Volume=%h/volumes/oxitraffic-corrode-dev/config.toml:/volumes/config.toml:Z,ro
Volume=%h/volumes/oxitraffic-corrode-dev/logs:/var/log/oxitraffic:Z Volume=%h/volumes/oxitraffic-corrode-dev/logs:/var/log/oxitraffic:Z
[Unit]
Requires=oxitraffic-corrode-dev-db.service
After=oxitraffic-corrode-dev-db.service
[Service] [Service]
Restart=always Restart=always

View file

@ -1,7 +1,3 @@
[Unit]
Requires=oxitraffic-db.service
After=oxitraffic-db.service
[Container] [Container]
Image=docker.io/mo8it/oxitraffic:latest Image=docker.io/mo8it/oxitraffic:latest
AutoUpdate=registry AutoUpdate=registry
@ -9,6 +5,10 @@ Network=traefik.network
Volume=%h/volumes/oxitraffic/config.toml:/volumes/config.toml:Z,ro Volume=%h/volumes/oxitraffic/config.toml:/volumes/config.toml:Z,ro
Volume=%h/volumes/oxitraffic/logs:/var/log/oxitraffic:Z Volume=%h/volumes/oxitraffic/logs:/var/log/oxitraffic:Z
[Unit]
Requires=oxitraffic-db.service
After=oxitraffic-db.service
[Service] [Service]
Restart=always Restart=always

View file

@ -6,7 +6,17 @@ mkdir -p ~/volumes/$container_name
podman run \ podman run \
--rm \ --rm \
--pull newer \
-v ~/code/yinghong-massage.de:/volumes/src:Z \
-w /volumes/src \
docker.io/library/node:slim bash -c "npm add tailwindcss && npx tailwindcss -m -i input.css -o static/main.css"
podman run \
--rm \
--pull newer \
-v ~/code/yinghong-massage.de:/volumes/src:Z,ro \ -v ~/code/yinghong-massage.de:/volumes/src:Z,ro \
-v ~/volumes/$container_name:/volumes/output:Z \ -v ~/volumes/$container_name:/volumes/output:Z \
-w /volumes/src \ -w /volumes/src \
ghcr.io/getzola/zola:v0.18.0 build -o /volumes/output/public -f ghcr.io/getzola/zola:v0.18.0 build -o /volumes/output/public -f
systemctl --user restart yinghong-massage