6614b9b8a5
Reviewed-on: #2 Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
26 lines
543 B
YAML
26 lines
543 B
YAML
version: "3"
|
|
|
|
services:
|
|
forgejo:
|
|
image: codeberg.org/forgejo/forgejo:1.20
|
|
container_name: forgejo
|
|
environment:
|
|
- FORGEJO__security__INSTALL_LOCK=true
|
|
- FORGEJO__federation__ENABLED=true
|
|
- FORGEJO__server__ROOT_URL=http://forgejo
|
|
- FORGEJO__server__HTTP_PORT=80
|
|
restart: always
|
|
networks:
|
|
- ftest
|
|
|
|
volumes:
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ports:
|
|
- "7000:80"
|
|
- "2222:22"
|
|
|
|
networks:
|
|
ftest:
|
|
name: ftest
|
|
external: true
|