- DNS: hi.mcintire.me A/AAAA, git.mcintire.me A/AAAA updated to new host - forgejo role: Docker Compose deployment with SQLite, INSTALL_LOCK, admin user creation - Caddyfile-hi.j2: reverse proxy git.mcintire.me -> localhost:3000 - tailscale role: skip connect when no auth key; dynamic repo suite - debian role: fix Signed-By for debian.sources on trixie - curl added to base Debian packages - support.vntx.net: added to vntx_servers, DNS, host_vars
34 lines
1.1 KiB
Django/Jinja
34 lines
1.1 KiB
Django/Jinja
services:
|
|
forgejo:
|
|
image: codeberg.org/forgejo/forgejo:{{ forgejo_version }}
|
|
container_name: forgejo
|
|
restart: unless-stopped
|
|
networks:
|
|
- forgejo
|
|
volumes:
|
|
- {{ forgejo_data_dir }}/data:/data
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ports:
|
|
- "127.0.0.1:{{ forgejo_http_port }}:3000"
|
|
- "0.0.0.0:{{ forgejo_ssh_port }}:22"
|
|
environment:
|
|
- USER_UID=1000
|
|
- USER_GID=1000
|
|
- FORGEJO__server__ROOT_URL=https://{{ forgejo_hostname }}
|
|
- FORGEJO__server__SSH_DOMAIN={{ forgejo_hostname }}
|
|
- FORGEJO__server__HTTP_PORT={{ forgejo_http_port }}
|
|
- FORGEJO__server__SSH_PORT={{ forgejo_ssh_port }}
|
|
- FORGEJO__server__DOMAIN={{ forgejo_hostname }}
|
|
- FORGEJO__database__DB_TYPE=sqlite3
|
|
- FORGEJO__database__PATH=/data/gitea/gitea.db
|
|
- FORGEJO__security__INSTALL_LOCK=true
|
|
- FORGEJO__service__DISABLE_REGISTRATION=true
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:3000"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 10
|
|
|
|
networks:
|
|
forgejo:
|