chore(deploy): 更新Docker镜像源并移除本地compose配置
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- 将Dockerfile中基础镜像地址从git.oceanpay.cc替换为git.domainpay.top - 删除docker-compose-local.yaml文件,移除本地网关服务配置 - 保持时区环境变量和工作目录设置不变
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Stage 1: Build stage using pre-built base image
|
# Stage 1: Build stage using pre-built base image
|
||||||
FROM git.oceanpay.cc/danial/kami-gateway-base:latest AS builder
|
FROM git.domainpay.top/danial/kami-gateway-base:latest AS builder
|
||||||
|
|
||||||
# Set working directory
|
# Set working directory
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
@@ -12,7 +12,7 @@ RUN go mod tidy && \
|
|||||||
go build -o main -ldflags="-s -w" main.go
|
go build -o main -ldflags="-s -w" main.go
|
||||||
|
|
||||||
# Stage 2: Runtime stage using Alpine Linux
|
# Stage 2: Runtime stage using Alpine Linux
|
||||||
FROM git.oceanpay.cc/danial/alpine-base:latest
|
FROM git.domainpay.top/danial/alpine-base:latest
|
||||||
|
|
||||||
# Set environment variables
|
# Set environment variables
|
||||||
ENV TZ=Asia/Shanghai \
|
ENV TZ=Asia/Shanghai \
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
services:
|
|
||||||
gateway_kami:
|
|
||||||
build:
|
|
||||||
context: ..
|
|
||||||
dockerfile: ./deploy/Dockerfile
|
|
||||||
container_name: kami_gateway
|
|
||||||
image: kami_gateway:latest
|
|
||||||
ports:
|
|
||||||
- "12309:12309"
|
|
||||||
networks:
|
|
||||||
- 1panel-network
|
|
||||||
labels:
|
|
||||||
createdBy: Developer
|
|
||||||
|
|
||||||
networks:
|
|
||||||
1panel-network:
|
|
||||||
external: true
|
|
||||||
Reference in New Issue
Block a user