networks: net: external: true services: server: image: codeberg.org/forgejo/forgejo:9 container_name: forgejo environment: - USER_UID=1000 - USER_GID=1000 restart: always networks: - net volumes: - ./forgejo:/data - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro