Skip to content

Commit

Permalink
Release first version 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nck974 committed Sep 14, 2023
1 parent 351f597 commit 856a318
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <user>`. 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
Expand All @@ -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 <user>`. 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
Expand All @@ -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 <user>`. 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/)
2 changes: 1 addition & 1 deletion diogenes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</parent>
<groupId>dev.nichoko</groupId>
<artifactId>diogenes</artifactId>
<version>0.0.7-SNAPSHOT</version>
<version>0.0.1</version>
<name>diogenes</name>
<description>Software to manage the personal inventary of items that you own.</description>

Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 856a318

Please sign in to comment.