Update docker
This commit is contained in:
parent
be69d00e2c
commit
432c68ff74
5 changed files with 23 additions and 23 deletions
|
@ -2,5 +2,5 @@ FROM alpine:3.20
|
|||
ARG MICROSERVICE
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=wicked-waifus-builder:1.3.0-SNAPSHOT /app/target/release/$MICROSERVICE ./service
|
||||
COPY --from=wicked-waifus-builder:1.4.0-SNAPSHOT /app/target/release/$MICROSERVICE ./service
|
||||
CMD ["./service"]
|
14
builder.bat
14
builder.bat
|
@ -1,12 +1,12 @@
|
|||
docker build -t wicked-waifus-builder:1.3.0-SNAPSHOT -f Dockerfile-builder .
|
||||
docker build -t wicked-waifus-builder:1.4.0-SNAPSHOT -f Dockerfile-builder .
|
||||
|
||||
docker build -t wicked-waifus-config-server:1.3.0-SNAPSHOT --build-arg MICROSERVICE=config-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-hotpatch-server:1.3.0-SNAPSHOT --build-arg MICROSERVICE=hotpatch-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-login-server:1.3.0-SNAPSHOT --build-arg MICROSERVICE=login-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-gateway-server:1.3.0-SNAPSHOT --build-arg MICROSERVICE=gateway-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-game-server:1.3.0-SNAPSHOT --build-arg MICROSERVICE=game-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-config-server:1.4.0-SNAPSHOT --build-arg MICROSERVICE=config-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-hotpatch-server:1.4.0-SNAPSHOT --build-arg MICROSERVICE=hotpatch-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-login-server:1.4.0-SNAPSHOT --build-arg MICROSERVICE=login-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-gateway-server:1.4.0-SNAPSHOT --build-arg MICROSERVICE=gateway-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-game-server:1.4.0-SNAPSHOT --build-arg MICROSERVICE=game-server -f Dockerfile-service .
|
||||
|
||||
docker rmi wicked-waifus-builder:1.3.0-SNAPSHOT
|
||||
docker rmi wicked-waifus-builder:1.4.0-SNAPSHOT
|
||||
|
||||
: Persistence for the application
|
||||
: docker volume create wicked-waifus-postgres-vol
|
14
builder.sh
14
builder.sh
|
@ -1,12 +1,12 @@
|
|||
docker build -t wicked-waifus-builder:1.3.0-SNAPSHOT -f Dockerfile-builder .
|
||||
docker build -t wicked-waifus-builder:1.4.0-SNAPSHOT -f Dockerfile-builder .
|
||||
|
||||
docker build -t wicked-waifus-config-server:1.3.0-SNAPSHOT --build-arg MICROSERVICE=config-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-hotpatch-server:1.3.0-SNAPSHOT --build-arg MICROSERVICE=hotpatch-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-login-server:1.3.0-SNAPSHOT --build-arg MICROSERVICE=login-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-gateway-server:1.3.0-SNAPSHOT --build-arg MICROSERVICE=gateway-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-game-server:1.3.0-SNAPSHOT --build-arg MICROSERVICE=game-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-config-server:1.4.0-SNAPSHOT --build-arg MICROSERVICE=config-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-hotpatch-server:1.4.0-SNAPSHOT --build-arg MICROSERVICE=hotpatch-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-login-server:1.4.0-SNAPSHOT --build-arg MICROSERVICE=login-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-gateway-server:1.4.0-SNAPSHOT --build-arg MICROSERVICE=gateway-server -f Dockerfile-service .
|
||||
docker build -t wicked-waifus-game-server:1.4.0-SNAPSHOT --build-arg MICROSERVICE=game-server -f Dockerfile-service .
|
||||
|
||||
docker rmi wicked-waifus-builder:1.3.0-SNAPSHOT
|
||||
docker rmi wicked-waifus-builder:1.4.0-SNAPSHOT
|
||||
|
||||
# Persistence for the application
|
||||
# docker volume create wicked-waifus-postgres-vol
|
|
@ -1,10 +1,10 @@
|
|||
name: camellya-ps
|
||||
name: wicked-waifus-ps
|
||||
|
||||
services:
|
||||
camellya-hotpatch-server:
|
||||
image: camellya-hotpatch-server:1.3.0-SNAPSHOT
|
||||
wicked-waifus-hotpatch-server:
|
||||
image: wicked-waifus-hotpatch-server:1.4.0-SNAPSHOT
|
||||
depends_on:
|
||||
camellya-postgres:
|
||||
wicked-waifus-postgres:
|
||||
condition: service_healthy
|
||||
ports:
|
||||
- '10002:10002'
|
||||
|
|
|
@ -2,7 +2,7 @@ name: wicked-waifus-ps
|
|||
|
||||
services:
|
||||
wicked-waifus-config-server:
|
||||
image: wicked-waifus-config-server:1.3.0-SNAPSHOT
|
||||
image: wicked-waifus-config-server:1.4.0-SNAPSHOT
|
||||
depends_on:
|
||||
wicked-waifus-postgres:
|
||||
condition: service_healthy
|
||||
|
@ -12,7 +12,7 @@ services:
|
|||
- "./docker/configserver.toml:/app/configserver.toml"
|
||||
- "./assets/config:/app/assets/config"
|
||||
wicked-waifus-login-server:
|
||||
image: wicked-waifus-login-server:1.3.0-SNAPSHOT
|
||||
image: wicked-waifus-login-server:1.4.0-SNAPSHOT
|
||||
depends_on:
|
||||
wicked-waifus-postgres:
|
||||
condition: service_healthy
|
||||
|
@ -21,7 +21,7 @@ services:
|
|||
volumes:
|
||||
- "./docker/loginserver.toml:/app/loginserver.toml"
|
||||
wicked-waifus-gateway-server:
|
||||
image: wicked-waifus-gateway-server:1.3.0-SNAPSHOT
|
||||
image: wicked-waifus-gateway-server:1.4.0-SNAPSHOT
|
||||
depends_on:
|
||||
wicked-waifus-postgres:
|
||||
condition: service_healthy
|
||||
|
@ -32,7 +32,7 @@ services:
|
|||
volumes:
|
||||
- "./docker/gateway.toml:/app/gateway.toml"
|
||||
wicked-waifus-game-server:
|
||||
image: wicked-waifus-game-server:1.3.0-SNAPSHOT
|
||||
image: wicked-waifus-game-server:1.4.0-SNAPSHOT
|
||||
depends_on:
|
||||
wicked-waifus-postgres:
|
||||
condition: service_healthy
|
||||
|
|
Loading…
Reference in a new issue