2023-09-27 22:23:11 +05:30
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
forgejo:
|
|
|
|
image: codeberg.org/forgejo/forgejo:1.20
|
|
|
|
container_name: forgejo
|
|
|
|
environment:
|
2023-10-13 16:08:32 +05:30
|
|
|
- FORGEJO__security__INSTALL_LOCK=true
|
|
|
|
- FORGEJO__federation__ENABLED=true
|
|
|
|
- FORGEJO__server__ROOT_URL=http://forgejo
|
|
|
|
- FORGEJO__server__HTTP_PORT=80
|
2023-09-27 22:23:11 +05:30
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- ftest
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
ports:
|
2023-10-02 12:54:11 +05:30
|
|
|
- "7000:80"
|
2023-09-27 22:23:11 +05:30
|
|
|
- "2222:22"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
ftest:
|
|
|
|
name: ftest
|
|
|
|
external: true
|