This commit is contained in:
Administrator
2024-05-10 11:04:07 +08:00
parent 4714a047fd
commit 56a6d102a2
2 changed files with 4 additions and 4 deletions

View File

@@ -8,8 +8,8 @@ build:
stage: build stage: build
script: script:
- mvn clean package - mvn clean package
- sudo docker build -t library ./library # - sudo docker build -t library ./library
- sudo docker build -t gateway ./gateway # - sudo docker build -t gateway ./gateway
deploy: deploy:
stage: deploy stage: deploy

View File

@@ -24,7 +24,7 @@ services:
library: library:
image: library build: ./library
environment: environment:
MYSQL_HOST: mysql MYSQL_HOST: mysql
REDIS_HOST: redis REDIS_HOST: redis
@@ -40,7 +40,7 @@ services:
gateway: gateway:
image: gateway build: ./gateway
environment: environment:
MYSQL_HOST: mysql MYSQL_HOST: mysql
REDIS_HOST: redis REDIS_HOST: redis