From 856a3181fa7f0c2c9d3aef12aad1a1cc0eca1f00 Mon Sep 17 00:00:00 2001 From: "nck.974" Date: Thu, 14 Sep 2023 23:33:24 +0200 Subject: [PATCH] Release first version 0.0.1 --- README.md | 12 ++++++------ diogenes/pom.xml | 2 +- docker-compose.yaml | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d82059a..6fbd33b 100644 --- a/README.md +++ b/README.md @@ -56,9 +56,9 @@ https://start.spring.io/#!type=maven-project&language=java&platformVersion=3.0.4 #### Create backend docker container 1. First build the image with `cd diogenes & ./mvnw install`. -1. Build the container with `docker build -f docker/Dockerfile -t nck974/diogenes:0.0.8-SNAPSHOT-1 .` +1. Build the container with `docker build -f docker/Dockerfile -t nck974/diogenes:0.0.1 .` 1. Generate a token in `https://hub.docker.com` and login with `docker login -u `. Paste the generated token as password. -1. Push the generated container with `docker push nck974/diogenes:0.0.8-SNAPSHOT-1`. +1. Push the generated container with `docker push nck974/diogenes:0.0.1`. 1. Run the image with docker compose to pass the environment variables of the database. ### Frontend @@ -67,9 +67,9 @@ To run the app in development mode just access the folder `diogenes-ng` and star #### Create frontend docker container -1. Build the container with `docker build -f docker/Dockerfile.angular -t nck974/diogenes-ng:0.0.1-SNAPSHOT-2 .` +1. Build the container with `docker build -f docker/Dockerfile.angular -t nck974/diogenes-ng:0.0.1 .` 1. Generate a token in `https://hub.docker.com` and login with `docker login -u `. Paste the generated token as password. -1. Push the generated container with `docker push nck974/diogenes-ng:0.0.1-SNAPSHOT-2`. +1. Push the generated container with `docker push nck974/diogenes-ng:0.0.1`. 1. Run the image with docker compose to pass the environment variables of the database. #### Checking updates @@ -90,8 +90,8 @@ ncu -u 1. Backend and frontend can be served using a custom reverse proxy or just use the one provided in the image. To do so build it with: -1. Build the container with `docker build -f docker/Dockerfile.nginx -t nck974/diogenes-reverse-proxy:0.0.1-SNAPSHOT-1 .` +1. Build the container with `docker build -f docker/Dockerfile.nginx -t nck974/diogenes-reverse-proxy:0.0.1 .` 1. Generate a token in `https://hub.docker.com` and login with `docker login -u `. Paste the generated token as password. -1. Push the generated container with `docker push nck974/diogenes-reverse-proxy:0.0.1-SNAPSHOT-1`. +1. Push the generated container with `docker push nck974/diogenes-reverse-proxy:0.0.1`. TOC generated from [ecotrust-canada](https://ecotrust-canada.github.io/markdown-toc/) diff --git a/diogenes/pom.xml b/diogenes/pom.xml index 8ed8b7a..a688532 100644 --- a/diogenes/pom.xml +++ b/diogenes/pom.xml @@ -11,7 +11,7 @@ dev.nichoko diogenes - 0.0.7-SNAPSHOT + 0.0.1 diogenes Software to manage the personal inventary of items that you own. diff --git a/docker-compose.yaml b/docker-compose.yaml index 890cd88..90db7e8 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -3,7 +3,7 @@ version: "3.8" services: diogenes-ng: container_name: diogenes-ng - image: nck974/diogenes-ng:0.0.1-SNAPSHOT-2 + image: nck974/diogenes-ng:0.0.1 restart: unless-stopped depends_on: - diogenes @@ -16,7 +16,7 @@ services: diogenes: container_name: diogenes - image: nck974/diogenes:0.0.8-SNAPSHOT-1 + image: nck974/diogenes:0.0.1 restart: unless-stopped depends_on: - diogenes-db @@ -43,7 +43,7 @@ services: reverse-proxy: container_name: diogenes-reverse-proxy - image: nck974/diogenes-reverse-proxy:0.0.1-SNAPSHOT-2 + image: nck974/diogenes-reverse-proxy:0.0.1 restart: unless-stopped ports: - 443:443