Initial commit

This commit is contained in:
2025-04-23 19:30:57 +00:00
commit fa513c13b7
5 changed files with 121 additions and 0 deletions

17
compose.yaml.hbs Normal file
View File

@@ -0,0 +1,17 @@
services:
{{app_id}}-postgresql:
image: postgres:17.4
restart: always
environment:
POSTGRES_USER: {{entitlements.db-user}}
POSTGRES_PASSWORD: {{entitlements.db-password}}
POSTGRES_DB: {{entitlements.db-name}}
volumes:
- {{entitlements.folder-path}}:/var/lib/postgresql/data
ports:
- {{entitlements.port-number}}:5432
{{#unless (eq entitlements.os "windows")}}
user: {{entitlements.uid}}:{{entitlements.gid}}
{{/unless}}
logging:
driver: local