Commit 6281e57d authored by 贾浩@五瓣科技's avatar 贾浩@五瓣科技

u

parent d29f3171
Pipeline #755 canceled with stages
...@@ -13,7 +13,7 @@ COPY ./ ./claim-monitor/ ...@@ -13,7 +13,7 @@ COPY ./ ./claim-monitor/
FROM base AS build FROM base AS build
RUN cd claim-monitor && go mod tidy && go build -v -o /tmp/api ./cmd/api && go build -v -o /tmp/api ./cmd/sync RUN cd claim-monitor && go mod tidy && go build -v -o /tmp/api ./cmd/api && go build -v -o /tmp/sync ./cmd/sync
FROM alpine FROM alpine
......
...@@ -7,7 +7,7 @@ services: ...@@ -7,7 +7,7 @@ services:
db: db:
image: mysql:8 image: mysql:8
ports: ports:
- "3306:3306" - "13306:3306"
volumes: volumes:
- ./data:/var/lib/mysql - ./data:/var/lib/mysql
- ./mysql-conf.d:/etc/mysql/conf.d - ./mysql-conf.d:/etc/mysql/conf.d
...@@ -29,7 +29,7 @@ services: ...@@ -29,7 +29,7 @@ services:
api: api:
image: claim-monitor:latest image: claim-monitor:latest
ports: ports:
- "8080:8080" - "28080:8080"
depends_on: depends_on:
- db - db
- sync - sync
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment