Skip to content

Commit

Permalink
docs: Update README with PostgreSQL storage configuration example
Browse files Browse the repository at this point in the history
  • Loading branch information
yarlson committed Oct 21, 2024
1 parent e8a64bf commit f2a9c60
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f2a9c60

Please sign in to comment.