--
This commit is contained in:
parent
76b0ddb1e1
commit
eb0c4950b1
@ -10,7 +10,7 @@ on:
|
||||
jobs:
|
||||
CreateImage:
|
||||
runs-on: [hubstaging]
|
||||
uses: http://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.1.4
|
||||
uses: http://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.1.4-p7
|
||||
with:
|
||||
runner: hubstaging
|
||||
secrets:
|
||||
|
@ -1,12 +1,10 @@
|
||||
FROM gitea.pena/penadevops/container-images/golang:main as builder
|
||||
WORKDIR /app
|
||||
RUN apk add git
|
||||
COPY . .
|
||||
ENV GOPRIVATE=gitea.pena/PenaSide/linters-golang
|
||||
ENV GOINSECURE=gitea.pena/PenaSide/linters-golang
|
||||
RUN go env
|
||||
RUN go mod download -x
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o heruvym
|
||||
RUN go mod download
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o heruvym cmd/main.go
|
||||
|
||||
FROM gitea.pena/penadevops/container-images/alpine:main
|
||||
COPY --from=builder /app/heruvym .
|
||||
|
@ -3,7 +3,7 @@ services:
|
||||
restart: unless-stopped
|
||||
image: gitea.pena:3000/penaside/heruvym/staging:$GITHUB_RUN_NUMBER
|
||||
ports:
|
||||
- 10.7.0.6:1487:1488
|
||||
- 10.7.0.6:1487:3000
|
||||
labels:
|
||||
com.pena.upload: true
|
||||
com.pena.allowed_headers: content-type,authorization,response-type
|
||||
@ -14,11 +14,17 @@ services:
|
||||
- BB_MINIO_AK=5CV77KVDUU9H0II9R24M
|
||||
- BB_MINIO_EP=s3.timeweb.cloud
|
||||
- BB_MINIO_SK=0W0m8DyvdAKRJnsAy6mB5zndQ7RouJBLhqhtThcu
|
||||
- BB_MONGO_URI=$BB_MONGO_URI
|
||||
- MONGO_HOST=mongodb.pena
|
||||
- MONGO_PORT=27017
|
||||
- MONGO_USER=support
|
||||
- MONGO_PASSWORD=54143ffdd9304865586e5cf2
|
||||
- MONGO_DB=support
|
||||
- MONGO_AUTH=support
|
||||
- BB_MONGO_URI=mongodb://support:54143ffdd9304865586e5cf2@mongodb.pena/?authSource=support
|
||||
- S3_REGION=ru-1
|
||||
- JWT_SECRET=$JWT_SECRET
|
||||
- TELEGRAM_TOKEN=6414077478:AAFk03HezovLT2kO_i9OYswH8Weirsgp9GU
|
||||
- TELEGRAM_CHAT_ID=1002089014760
|
||||
- REDIS_HOST=10.8.0.5:6379
|
||||
- REDIS_HOST=10.7.0.6:6379
|
||||
- REDIS_PASSWORD=Redalert2
|
||||
- REDIS_DB=4
|
||||
|
Loading…
Reference in New Issue
Block a user