mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2026-07-15 05:13:21 +00:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d9c4e7d39
|
@@ -20,8 +20,6 @@
|
|||||||
- 9009-9013/tcp (relay)
|
- 9009-9013/tcp (relay)
|
||||||
- **SFTPGo**
|
- **SFTPGo**
|
||||||
- 2022/tcp (SFTP)
|
- 2022/tcp (SFTP)
|
||||||
- **Gitea**
|
|
||||||
- 2222/tcp (SSH)
|
|
||||||
- **WireGuard Easy**
|
- **WireGuard Easy**
|
||||||
- 51820/udp (WireGuard)
|
- 51820/udp (WireGuard)
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
source: journalctl
|
source: journalctl
|
||||||
journalctl_filter:
|
journalctl_filter:
|
||||||
- "_SYSTEMD_UNIT=ssh.service"
|
# NixOS names the OpenSSH unit "sshd.service"; Debian/Ubuntu use "ssh.service".
|
||||||
|
- "_SYSTEMD_UNIT=sshd.service"
|
||||||
labels:
|
labels:
|
||||||
type: syslog
|
type: syslog
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
# URL of the Gitea instance
|
# URL of the Gitea instance
|
||||||
GITEA_INSTANCE_URL=http://gitea:3000
|
GITEA_INSTANCE_URL=http://gitea:3000
|
||||||
# Domain advertised in SSH clone URLs (e.g. gitea.aykhans.me)
|
|
||||||
GITEA_SSH_DOMAIN=
|
|
||||||
# How to get the token: https://docs.gitea.com/usage/actions/act-runner#obtain-a-registration-token
|
# How to get the token: https://docs.gitea.com/usage/actions/act-runner#obtain-a-registration-token
|
||||||
GITEA_RUNNER_REGISTRATION_TOKEN=
|
GITEA_RUNNER_REGISTRATION_TOKEN=
|
||||||
# UID and GID of the user that should run the runner (e.g. USER_UID=1000, USER_GID=1000)
|
# UID and GID of the user that should run the runner (e.g. USER_UID=1000, USER_GID=1000)
|
||||||
|
|||||||
@@ -15,14 +15,10 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- USER_UID=${USER_UID}
|
- USER_UID=${USER_UID}
|
||||||
- USER_GID=${USER_GID}
|
- USER_GID=${USER_GID}
|
||||||
- GITEA__server__SSH_DOMAIN=${GITEA_SSH_DOMAIN}
|
|
||||||
- GITEA__server__SSH_PORT=2222
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- gitea
|
- gitea
|
||||||
- caddy
|
- caddy
|
||||||
ports:
|
|
||||||
- "2222:22"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
|||||||
Reference in New Issue
Block a user