Gitea self-hosted Git service on FreeBSD.
services:
gitea:
image: ghcr.io/daemonless/gitea:latest
container_name: gitea
environment:
- PUID=1000
- PGID=1000
- TZ=UTC
volumes:
- /path/to/containers/gitea:/config
ports:
- 3000:3000
- 2222:2222
restart: unless-stopped
podman run -d --name gitea \
-p 3000:3000 \
-p 2222:2222 \
-e PUID=@PUID@ \
-e PGID=@PGID@ \
-e TZ=@TZ@ \
-v /path/to/containers/gitea:/config \
ghcr.io/daemonless/gitea:latest
Access at: http://localhost:3000
- name: Deploy gitea
containers.podman.podman_container:
name: gitea
image: ghcr.io/daemonless/gitea:latest
state: started
restart_policy: always
env:
PUID: "@PUID@"
PGID: "@PGID@"
TZ: "@TZ@"
ports:
- "3000:3000"
- "2222:2222"
volumes:
- "/path/to/containers/gitea:/config"
| Variable |
Default |
Description |
PUID |
1000 |
User ID for the application process |
PGID |
1000 |
Group ID for the application process |
TZ |
UTC |
Timezone for the container |
| Path |
Description |
/config |
Configuration, repositories, and data directory |
| Port |
Protocol |
Description |
3000 |
TCP |
Web UI |
2222 |
TCP |
|
- Architectures: amd64
- User:
bsd (UID/GID set via PUID/PGID)
- Base: Built on
ghcr.io/daemonless/base (FreeBSD)