diff --git a/Makefile b/Makefile index 16e193cbd..eb99687e3 100644 --- a/Makefile +++ b/Makefile @@ -81,6 +81,10 @@ kuberpult-earthly: compose-down earthly +all-services --UID=$(USER_UID) docker compose up +kuberpult-earthly-persist: compose-down + earthly +all-services --UID=$(USER_UID) + docker compose -f docker-compose.yml -f docker-compose.persist.yml up + all-services: earthly +all-services --tag=$(VERSION) diff --git a/docker-compose.persist.yml b/docker-compose.persist.yml new file mode 100644 index 000000000..ad20d504e --- /dev/null +++ b/docker-compose.persist.yml @@ -0,0 +1,8 @@ +services: + postgres: + volumes: + - "pgdata:/var/lib/postgresql/data" + +volumes: + pgdata: + driver: local \ No newline at end of file