This commit is contained in:
2022-04-18 11:21:20 +08:00
commit 45a7af638f
210 changed files with 8997 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
version: "3.7"
services:
gitea:
image: harbor.colben.cn/general/gitea
container_name: gitea
restart: on-failure
stop_grace_period: 1m
networks:
gitea:
volumes:
- type: bind
source: ./gitea/gitea
target: /var/lib/gitea
- type: bind
source: ./gitea/log
target: /var/log/gitea
- type: bind
source: ./gitea/indexers
target: /indexers
- type: bind
source: ./socket
target: /socket
nginx:
image: harbor.colben.cn/general/nginx
container_name: nginx
restart: on-failure
stop_grace_period: 1m
networks:
gitea:
ports:
- 80:80
volumes:
- type: bind
source: ./nginx/http.d
target: /etc/nginx/http.d
- type: bind
source: ./nginx/log
target: /var/log/nginx
- type: bind
source: ./socket
target: /socket
networks:
gitea:
external: false