First create a .env file with the following structure (names are like this because i'm using postgres)
POSTGRES_CONTAINER_NAME=
POSTGRES_CONTAINER_IMAGE_NAME=
postgres_USER=
postgres_PASS=| version: '3' | |
| services: | |
| myDB: | |
| image: postgres:15.3 | |
| container_name: my-database | |
| restart: always | |
| ports: | |
| - 5432:5432 | |
| environment: |