container, podman pod

This commit is contained in:
2024-01-28 01:20:50 +01:00
parent bfca1d2e1f
commit fb968853b5
6 changed files with 43 additions and 5 deletions

8
podman-commands Normal file
View File

@ -0,0 +1,8 @@
podman build --tag alipricetrack:1.0.0 -f ./Dockerfile
podman pod create --name aliexpress -p 8080:8080
podman run -d --pod=aliexpress -e POSTGRES_DB="aliexpress" -e POSTGRES_USER="postgres" -e POSTGRES_PASSWORD="postgres" -v /home/fire/Downloads/db:/var/lib/postgresql/data --name ali-db docker.io/postgres
podman run -d --pod=aliexpress --name ali-app alipricetrack:1.0.0