2023-11-03 11:04:01 +00:00
|
|
|
# documentation: https://docs.gitea.com
|
|
|
|
# slogan: Gitea is a self-hosted, lightweight Git service, offering version control, collaboration, and code hosting.
|
|
|
|
# tags: version control, collaboration, code, hosting, lightweight
|
2024-02-20 14:07:12 +00:00
|
|
|
# logo: svgs/gitea.svg
|
2023-11-03 11:04:01 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
gitea:
|
|
|
|
image: gitea/gitea:latest
|
|
|
|
environment:
|
2023-11-06 19:53:51 +00:00
|
|
|
- SERVICE_FQDN_GITEA_3000
|
2023-11-03 11:04:01 +00:00
|
|
|
- USER_UID=1000
|
|
|
|
- USER_GID=1000
|
2023-11-07 09:18:28 +00:00
|
|
|
ports:
|
|
|
|
- 22222:22
|
2023-11-03 11:04:01 +00:00
|
|
|
volumes:
|
2024-05-02 13:06:40 +00:00
|
|
|
- gitea-data:/data
|
2023-11-03 11:04:01 +00:00
|
|
|
- gitea-timezone:/etc/timezone:ro
|
|
|
|
- gitea-localtime:/etc/localtime:ro
|
|
|
|
healthcheck:
|
2024-05-17 08:11:55 +00:00
|
|
|
test: ["CMD", "curl", "-f", "http://127.0.0.1:3000"]
|
2023-11-03 11:04:01 +00:00
|
|
|
interval: 2s
|
|
|
|
timeout: 10s
|
|
|
|
retries: 15
|