diff --git a/docker-compose.yaml b/docker-compose.yaml index 81935d0b0b..e8d8843c14 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,5 +1,6 @@ version: "3" - +volumes: + pg_data: services: postgres: image: postgres:latest @@ -11,7 +12,7 @@ services: - 5433:5432 restart: always volumes: - - ./.pgdata:/var/lib/postgresql/data + - pg_data:/var/lib/postgresql/data grafana: image: grafana/grafana:latest environment: