gitea/compose.yaml
ange f231efb04e
All checks were successful
/ deploy (push) Successful in 19s
feat: renovatebot (#2)
Reviewed-on: #2
2024-12-23 02:44:15 +00:00

36 lines
694 B
YAML

---
services:
db:
image: docker.io/postgres:17
restart: unless-stopped
environment:
- POSTGRES_DB=db
- POSTGRES_USER=db
- POSTGRES_PASSWORD=db
volumes:
- db:/var/lib/postgresql/data/
gitea:
image: "$IMAGEAPP"
restart: unless-stopped
ports:
- "8080:3000"
- "2222:2222"
environment:
- POSTGRES_HOST=db
- GITEA__database__DB_TYPE=postgres
- GITEA__database__HOST=db
- GITEA__database__NAME=db
- GITEA__database__USER=db
- GITEA__database__PASSWD=db
volumes:
- config:/etc/gitea/
- data:/var/lib/gitea/
depends_on:
- db
volumes:
db: {}
config: {}
data: {}