diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f51ad90 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,25 @@ +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