Created
July 22, 2025 22:20
-
-
Save cybardev/3d10c73594387e5b5f1a291baef634ec to your computer and use it in GitHub Desktop.
forgejo-config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
networks: | |
forgejo: | |
external: false | |
services: | |
server: | |
container_name: forgejo | |
image: codeberg.org/forgejo/forgejo:11 | |
restart: always | |
networks: | |
- forgejo | |
environment: | |
- USER_UID=501 | |
- USER_GID=20 | |
volumes: | |
- ./data:/data | |
- /etc/timezone:/etc/timezone:ro | |
- /etc/localtime:/etc/localtime:ro | |
ports: | |
- "3443:3000" | |
- "222:22" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Linux, change
UID
andGID
accordingly (run theid
command to check).