41 lines
997 B
Markdown
41 lines
997 B
Markdown
# Andi's App - Irgendwas mit K
|
|
|
|
# Commands
|
|
|
|
`alias pps="podman container ps -a"`
|
|
|
|
`alias pre="podman-compose down && podman-compose up -d"`
|
|
|
|
`podman-compose up`
|
|
|
|
`podman-compose down`
|
|
|
|
# Dockerfile
|
|
|
|
[Dockerfile Reference](https://docs.docker.com/reference/dockerfile/)
|
|
[Compose File Reference](https://docs.docker.com/reference/compose-file/)
|
|
[Podman 'Basic' Networking](https://github.com/containers/podman/blob/main/docs/tutorials/basic_networking.md)
|
|
[Postgres Dockerhub](https://hub.docker.com/_/postgres/tags?page=3)
|
|
|
|
### Source Dockerfile + App
|
|
|
|
https://dev.to/mbuthi/devops-with-fast-api-postgresql-how-to-containerize-fast-api-application-with-docker-1jdb
|
|
|
|
### Unterschiede RUN CMD ENTRYPOINT
|
|
|
|
https://stackoverflow.com/questions/37461868/difference-between-run-and-cmd-in-a-dockerfile
|
|
|
|
### Beschreibung WORKDIR
|
|
|
|
https://stackoverflow.com/a/51066379
|
|
|
|
## POSTGRES
|
|
|
|
### Restore/Backup
|
|
|
|
https://stackoverflow.com/a/29913462
|
|
|
|
# Reference
|
|
|
|
[Explainshell](https://github.com/idank/explainshell)
|