Update docker

This commit is contained in:
xavo95 2024-11-03 00:27:17 +01:00
parent be69d00e2c
commit 432c68ff74
Signed by: xavo95
GPG key ID: CBF8ADED6DEBB783
5 changed files with 23 additions and 23 deletions

View file

@ -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"]

View file

@ -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

View file

@ -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

View file

@ -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'

View file

@ -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