- Podman introduction
- Podman storage: we use the podman storage as a backup to our logs and database.
- No need to clone github repo
- Make sure for every new pull, change the name of volume
$ podman login quay.io
$ podman volume create <podman-storage-name>
$ podman pull quay.io/guiseai_retail/apparel-logo:ob_1.0.1_ovino
$ podman run --name apparel-logo-container \
-p 9080:9080 \
-v <podman-storage-name>:/app/ \
-d quay.io/guiseai_retail/apparel-logo:ob_1.0.1_ovino
- clone the repo
$ git clone https://github.com/GuiseAI/apparel-logo-monolith.git
$ cd apparel_logo_monolith
$ git checkout <branch_name>
- Make sure for every new build, change the name of volume
- build the image and create storage
$ podman build -t <apparel-logo-image-name> -f Containerfile.root
$ podman volume create <podman-storage-name>
- Remove -d from command if you want to print logs on terminal
- run the image
podman run --name <apparel-logo-container-name> \
-p 9080:9080 \
-v <podman-storage-name>:/app/ \
-d <apparel-logo-image-name>
- clone the repo
$ git clone https://github.com/GuiseAI/apparel-logo-monolith.git
$ cd apparel_logo_monolith
$ git checkout <branch-name>
- Inside contaner-compose.yml file, change image and container_name as per your choice.
To start
podman-compose up
To stop
podman-compose down