From f2a9c605ed4061cd274f380c557408d565d25861 Mon Sep 17 00:00:00 2001 From: Yar Kravtsov Date: Mon, 21 Oct 2024 08:32:50 +0300 Subject: [PATCH] docs: Update README with PostgreSQL storage configuration example --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e98f3c9..68e1d57 100644 --- a/README.md +++ b/README.md @@ -77,14 +77,16 @@ services: strip_prefix: false storages: - - name: my-app-storage - image: my-app-storage:latest - volumes: - - my-app-storage:/var/www/html/storage + - name: postgres + image: postgres:16 + - postgres_data:/var/lib/postgresql/data + env_vars: + - POSTGRES_PASSWORD=S3cret + - POSTGRES_USER=my-app + - POSTGRES_DB=my-app volumes: - - name: my-app-storage - path: /var/www/html/storage + - postgres_data ``` This configuration defines your project, servers, services, and storage requirements.