Compare commits

..

1 Commits

Author SHA1 Message Date
cbed02d0cb Update ghcr.io/finsys/hawser Docker tag to v0.2.29 2026-02-23 02:31:07 +00:00
73 changed files with 142 additions and 43 deletions

View File

@@ -0,0 +1,6 @@
# Paths
APPDATA_PATH=/home/username/appdata
# Ports
DNS_PORT=53
ADMIN_PORT=

14
.archived/bytestash/.env Normal file
View File

@@ -0,0 +1,14 @@
# Environment Variables
JWT_SECRET=
TOKEN_EXPIRY=
ALLOW_NEW_ACCOUNTS=
DEBUG=
DISABLE_ACCOUNTS=
DISABLE_INTERNAL_ACCOUNTS=
OIDC_ENABLED=
# Paths
APPDATA_PATH=/home/username/appdata
# Ports
PORT=

View File

@@ -0,0 +1,25 @@
services:
caddy:
image: docker.io/ryuupendragon/caddy-cloudflare-ddns:2.10.0
container_name: caddy
cap_add:
- NET_ADMIN
environment:
- CLOUDFLARE_API_TOKEN=${CLOUDFLARE_API_TOKEN}
volumes:
- ${APPDATA_PATH}/caddy/caddy-file:/etc/caddy
- ${APPDATA_PATH}/caddy/caddy-config:/config
- ${APPDATA_PATH}/caddy/caddy-data:/data
- ${APPDATA_PATH}/caddy/caddy-logs:/logs
- ${APPDATA_PATH}/caddy/caddy-srv:/srv
ports:
- ${HTTP_PORT}:80
- ${HTTPS_PORT}:443
- ${HTTPS_PORT}:443/udp
networks:
- frontend
restart: unless-stopped
networks:
frontend:
external: true

View File

@@ -0,0 +1,44 @@
services:
forgejo_db:
image: docker.io/library/mariadb:11.7.2
container_name: forgejo_db
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- MYSQL_USER=${MYSQL_USER}
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_DATABASE=${MYSQL_DATABASE}
volumes:
- ${APPDATA_PATH}/forgejo/db:/var/lib/mysql
ports:
- ${DB_PORT}:3306
restart: unless-stopped
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 10s
interval: 10s
timeout: 5s
retries: 3
forgejo_server:
image: codeberg.org/forgejo/forgejo:11.0.1-rootless
container_name: forgejo_server
depends_on:
forgejo_db:
condition: service_healthy
user: ${PUID}:${PGID}
environment:
- FORGEJO__database__DB_TYPE=mysql
- FORGEJO__database__HOST=forgejo_db
- FORGEJO__database__NAME=${MYSQL_DATABASE}
- FORGEJO__database__USER=${MYSQL_USER}
- FORGEJO__database__PASSWD=${MYSQL_PASSWORD}
volumes:
- ${APPDATA_PATH}/forgejo/config:/etc/gitea
- ${APPDATA_PATH}/forgejo/data:/var/lib/gitea
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- ${SERVER_PORT}:3000
- ${SSH_PORT}:22
restart: unless-stopped

View File

@@ -1,6 +1,6 @@
services:
hawser:
container_name: hawser
container_name: hawserd
image: ghcr.io/finsys/hawser:0.2.29@sha256:b6f8eabb5e839a1950fae5302db5a96e98dbe63e928e8178c3ca682aed008e26
restart: unless-stopped
environment:

View File

@@ -32,40 +32,31 @@ runner:
fetch_timeout: 5s
# The interval for fetching the job from the Gitea instance.
fetch_interval: 2s
# The github_mirror of a runner is used to specify the mirror address of the github that pulls the action repository.
# It works when something like `uses: actions/checkout@v4` is used and DEFAULT_ACTIONS_URL is set to github,
# and github_mirror is not empty. In this case,
# it replaces https://github.com with the value here, which is useful for some special network environments.
github_mirror: ''
# The labels of a runner are used to determine which jobs the runner can run, and how to run them.
# Like: "macos-arm64:host" or "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
# Find more images provided by Gitea at https://gitea.com/docker.gitea.com/runner-images .
# If it's empty when registering, it will ask for inputting labels.
# If it's empty when execute `daemon`, will use labels in `.runner` file.
labels:
- "ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-24.04"
- "ubuntu-latest-full:docker://ghcr.io/catthehacker/ubuntu:full-24.04"
- "ubuntu-arm64:docker://ghcr.io/catthehacker/ubuntu:act-24.04"
- "ubuntu-arm64-full:docker://ghcr.io/catthehacker/ubuntu:full-24.04"
- "ubuntu-22.04:docker://ghcr.io/catthehacker/ubuntu:act-22.04"
- "ubuntu-22.04-full:docker://ghcr.io/catthehacker/ubuntu:full-22.04"
- "trixie:docker://node:25-trixie"
- "trixie-slim:docker://node:25-trixie-slim"
- "bookworm:docker://node:25-bookworm"
- "bookworm-slim:docker://node:25-bookworm-slim"
- "bullseye:docker://node:25-bullseye"
- "bullseye-slim:docker://node:25-bullseye-slim"
- "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
- "ubuntu-arm64:docker://docker.gitea.com/runner-images:ubuntu-latest"
- "ubuntu-22.04:docker://docker.gitea.com/runner-images:ubuntu-22.04"
- "ubuntu-cat:docker://ghcr.io/catthehacker/ubuntu:act-latest"
- "bookworm:docker://node:20-bookworm"
- "bookworm-slim:docker://node:24-bookworm-slim"
- "bullseye:docker://node:20-bullseye"
- "bullseye-slim:docker://node:20-bullseye-slim"
cache:
# Enable cache server to use actions/cache.
enabled: true
enabled: false
# The directory to store the cache data.
# If it's empty, the cache data will be stored in $HOME/.cache/actcache.
dir: ""
# The host of the cache server.
# It's not for the address to listen, but the address to connect from job containers.
# So 0.0.0.0 is a bad choice, leave it empty to detect automatically.
host: "IP"
host: ""
# The port of the cache server.
# 0 means to use a random available port.
port: 0
@@ -108,10 +99,6 @@ container:
force_pull: true
# Rebuild docker image(s) even if already present
force_rebuild: false
# Always require a reachable docker daemon, even if not required by act_runner
require_docker: false
# Timeout to wait for the docker daemon to be reachable, if docker is required by require_docker or act_runner
docker_timeout: 0s
host:
# The parent directory of a job's working directory.

View File

@@ -0,0 +1,42 @@
services:
gitea_runner1:
container_name: gitea_runner1
image: docker.io/gitea/act_runner:0.3.0@sha256:8368754bb612a1deb07ed604e3b955338aefc01576d4d0d92e8dd82f29250fcd
restart: unless-stopped
environment:
CONFIG_FILE: /config.yml
GITEA_INSTANCE_URL: "${INSTANCE_URL}"
GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
GITEA_RUNNER_NAME: "${RUNNER_NAME1}"
volumes:
- ./config.yml:/config.yml
- ./data1:/data
- /var/run/docker.sock:/var/run/docker.sock
gitea_runner2:
container_name: gitea_runner2
image: docker.io/gitea/act_runner:0.3.0@sha256:8368754bb612a1deb07ed604e3b955338aefc01576d4d0d92e8dd82f29250fcd
restart: unless-stopped
environment:
CONFIG_FILE: /config.yml
GITEA_INSTANCE_URL: "${INSTANCE_URL}"
GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
GITEA_RUNNER_NAME: "${RUNNER_NAME2}"
volumes:
- ./config.yml:/config.yml
- ./data2:/data
- /var/run/docker.sock:/var/run/docker.sock
gitea_runner3:
container_name: gitea_runner3
image: docker.io/gitea/act_runner:0.3.0@sha256:8368754bb612a1deb07ed604e3b955338aefc01576d4d0d92e8dd82f29250fcd
restart: unless-stopped
environment:
CONFIG_FILE: /config.yml
GITEA_INSTANCE_URL: "${INSTANCE_URL}"
GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
GITEA_RUNNER_NAME: "${RUNNER_NAME3}"
volumes:
- ./config.yml:/config.yml
- ./data3:/data
- /var/run/docker.sock:/var/run/docker.sock

View File

@@ -12,5 +12,3 @@ services:
- ./config.yml:/config.yml
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- ${PORT}:${PORT}

View File

@@ -1,17 +0,0 @@
services:
selfhst-icons:
container_name: selfhst-icons
image: ghcr.io/selfhst/icons:3.2.0@sha256:3a6db28194ac905f9cfa8529b2abf7a3c21b688c5515b47c4a28ae49c16fa0fc
restart: unless-stopped
environment:
- ICON_SOURCE=remote
- REMOTE_URL=${REMOTE_URL}
- STANDARD_ICON_FORMAT=${STANDARD_ICON_FORMAT}
ports:
- 4050:4050
networks:
- frontend
networks:
frontend:
external: true