diff --git a/test.txt b/test.txt index 274c005..8bee7f1 100644 --- a/test.txt +++ b/test.txt @@ -1 +1,26 @@ -1234 \ No newline at end of file +version: "2" + +volumes: + gitea-data: + driver: local + gitea-config: + driver: local + +services: + server: + image: gitea/gitea:1.22.3-rootless + restart: always + volumes: + - gitea-data:/var/lib/gitea + - gitea-config:/etc/gitea + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + networks: + - npm-network + ports: + - "3000:3000" + - "2222:2222" + +networks: + npm-network: + external: true \ No newline at end of file