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 - uses: mr-smithers-excellent/docker-build-push@v5
name: Build & push Docker image name: Build & push Docker image
with: with:
image: websoft9dev/gitea image: websoft9dev/git
tags: ${{ env.VERSION }} tags: ${{ env.VERSION }}
addLatest: True addLatest: True
registry: docker.io registry: docker.io

View file

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

View file

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

View file

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