gitea to git

This commit is contained in:
qiaofeng1227 2023-09-19 16:14:00 +08:00
parent 635469f653
commit 30fcb63214
4 changed files with 7 additions and 8 deletions

View file

@ -26,7 +26,7 @@ jobs:
- uses: mr-smithers-excellent/docker-build-push@v5
name: Build & push Docker image
with:
image: websoft9dev/gitea
image: websoft9dev/git
tags: ${{ env.VERSION }}
addLatest: True
registry: docker.io

View file

@ -11,7 +11,7 @@ services:
ports:
- 9001-9999:9000
volumes:
- portainer:/data
- deployment:/data
- /var/run/docker.sock:/var/run/docker.sock
labels:
com.docker.compose.w9_http.port: 9000
@ -22,4 +22,4 @@ networks:
external: true
volumes:
portainer:
deployment:

View file

@ -2,6 +2,5 @@ FROM gitea/gitea:1.20.4
LABEL maintainer="Websoft9<help@websoft9.com>"
LABEL version="1.20.4"
COPY ./src/s6/user /etc/s6/user
RUN chmod -R 755 /etc/s6/user

View file

@ -5,14 +5,14 @@
version: '3.8'
services:
gitea:
git:
container_name: $APP_NAME
image: websoft9dev/gitea:$APP_VERSION
image: websoft9dev/git:$APP_VERSION
restart: always
env_file:
- .env
volumes:
- gitea:/data
- git:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
@ -26,4 +26,4 @@ networks:
external: true
volumes:
gitea:
git: