Initial commit
This commit is contained in:
17
compose.yaml.hbs
Normal file
17
compose.yaml.hbs
Normal 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
|
||||
Reference in New Issue
Block a user