mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-03 09:48:38 +08:00
gitea to git
This commit is contained in:
parent
635469f653
commit
30fcb63214
2
.github/workflows/build_git.yml
vendored
2
.github/workflows/build_git.yml
vendored
@ -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
|
||||
|
@ -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:
|
@ -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
|
@ -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:
|
Loading…
Reference in New Issue
Block a user