services-garbaye/podman-gitea/docker-compose.yml

23 lines
482 B
YAML
Raw Normal View History

2022-05-26 19:00:27 +00:00
version: '2'
services:
gitea:
image: "${gitea_image}:${gitea_version}"
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
volumes:
- gitea-data:/data:Z
ports:
- ${weblisten_if}:${weblisten_port}:3000
- ${sshlisten_if}:${sshlisten_port}:22
depends_on:
- db
db:
image: "${postgres_image}:${postgres_version}"
container_name: gitea-db
volumes:
- gitea-pgsql:/var/lib/postgresql/data:Z