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
script:
- mvn clean package
- sudo docker build -t library ./library
- sudo docker build -t gateway ./gateway
# - sudo docker build -t library ./library
# - sudo docker build -t gateway ./gateway
deploy:
stage: deploy

View File

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