Compare commits

..

2 Commits

Author SHA1 Message Date
22c1d635c6 upgrade gitea to 1.24
All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 18m34s
Podman DDNS Image / build-and-push-ddns (push) Successful in 1m42s
2025-07-02 15:51:52 -04:00
5512c266eb fixes and updates to podman_gitea 2025-07-02 15:50:35 -04:00
4 changed files with 18 additions and 16 deletions

View File

@@ -1,11 +1,8 @@
version: "3"
networks:
gitea:
services:
gitea:
image: docker.gitea.com/gitea:1.23.7
image: docker.gitea.com/gitea:1.24
container_name: gitea
environment:
- USER_UID=1000
@@ -23,7 +20,7 @@ services:
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "2222:22"
- "2222:2222"
depends_on:
- postgres
security_opt:
@@ -44,4 +41,8 @@ services:
volumes:
- /home/gitea/gitea_postgres:/var/lib/postgresql/data
security_opt:
- label=disable
- label=disable
networks:
gitea:
enable_ipv6: true

View File

@@ -40,23 +40,23 @@ mkdir data config postgres
### Convert Compose to Quadlet
```bash
# Run this in Homelab, not on the serrver.
mkdir quadlets
# Run this in Homelab, not on the server.
mkdir $(pwd)/active/podman_gitea/quadlets
# Generate the systemd service
podman run \
--security-opt label=disable \
--network none \
--rm \
-v $(pwd):/compose \
-v $(pwd)/quadlets:/quadlets \
-v $(pwd)/active/podman_gitea/compose:$(pwd)/active/podman_gitea/compose:z \
-v $(pwd)/active/podman_gitea/quadlets:$(pwd)/active/podman_gitea/quadlets:z \
quay.io/k9withabone/podlet \
-f /quadlets \
-f $(pwd)/active/podman_gitea/quadlets \
-i \
--overwrite \
compose /compose/compose.yaml
compose $(pwd)/active/podman_gitea/compose/compose.yaml
# Copy the files to the server
scp -r quadlets/. gitea:~/.config/containers/systemd/
scp -r $(pwd)/active/podman_gitea/quadlets/. gitea:~/.config/containers/systemd/
```
### Install Quadlets

View File

@@ -5,10 +5,10 @@ Requires=postgres.service
AutoUpdate=registry
ContainerName=gitea
Environment=USER_UID=1000 USER_GID=1000 GITEA__database__DB_TYPE=postgres GITEA__database__HOST=postgres:5432 GITEA__database__NAME=gitea GITEA__database__USER=gitea GITEA__database__PASSWD=gitea
Image=docker.gitea.com/gitea:1.23.7
Image=docker.gitea.com/gitea:1.24
Network=gitea.network
PublishPort=3000:3000
PublishPort=2222:22
PublishPort=2222:2222
SecurityLabelDisable=true
Volume=/home/gitea/gitea_data:/data
Volume=/etc/localtime:/etc/localtime:ro

View File

@@ -1,4 +1,5 @@
[Network]
IPv6=true
[Install]
WantedBy=default.target