Added Forgejo, Gitea's replacement in my stack

main
capntack 2 years ago
parent 3b60646891
commit 0f1c5f8163

@ -0,0 +1,31 @@
# docker-compose.yml
# Docker Hub: https://codeberg.org/forgejo/forgejo
# Documentation: https://forgejo.org/docs/latest/
# The WebUI can be found at http://<HOST_IP>:<WEBUI_PORT>
# Forgejo is a fork of Gitea, and may still contain references to the same
networks:
<NETWORK_NAME>:
external: true
services:
forgejo:
container_name: forgejo
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA_APP_INI=/data/gitea/conf/app.ini
- GITEA_TEMP=/data/gitea/tmp
- GITEA_CUSTOM=/data/gitea
- GITEA_WORK_DIR=/app/gitea/gitea
image: codeberg.org/forgejo/forgejo:<VERSION_TAG>
networks:
- <NETWORK_NAME>
ports:
- "3000:3000" # WebUI Port
- "2222:22" # SSH Port
restart: unless-stopped
volumes:
- ./data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
Loading…
Cancel
Save