Added Forgejo docker-compose

This commit is contained in:
TheThomaas 2024-06-03 20:15:19 +02:00
parent a417ad4424
commit 533c0e3405
2 changed files with 25 additions and 0 deletions

2
forgejo/README.md Normal file
View file

@ -0,0 +1,2 @@
# Forgejo
* [How to use Github Desktop with Gitlab](https://itnext.io/how-to-use-github-desktop-with-gitlab-cd4d2de3d104)

View file

@ -0,0 +1,23 @@
networks:
forgejo:
external: false
services:
forgejo:
image: codeberg.org/forgejo/forgejo:7
container_name: forgejo
volumes:
# Config
- $APPDATA/forgejo:/data
# Other
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
USER_UID: $PUID
USER_GID: $PGID
ports:
- 8084:3000
- 2221:22
networks:
- forgejo
restart: unless-stopped