forgejo-init-script/docker-compose.yml

25 lines
466 B
YAML

version: "3"
services:
forgejo:
image: codeberg.org/forgejo/forgejo:1.20
container_name: forgejo
environment:
- USER_UID=1000
- USER_GID=1000
restart: always
networks:
- ftest
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- ./conf/app.ini:/data/gitea/conf/app.ini:wo
ports:
- "7000:7000"
- "2222:22"
networks:
ftest:
name: ftest
external: true