Initial commit

This commit is contained in:
2025-04-23 19:28:00 +00:00
commit bfc0187eb0
5 changed files with 127 additions and 0 deletions

18
compose.yaml.hbs Normal file
View File

@@ -0,0 +1,18 @@
services:
{{app_id}}-mysql:
image: mysql:9.3.0
restart: always
environment:
MYSQL_ROOT_PASSWORD: {{entitlements.db-root-password}}
MYSQL_DATABASE: {{entitlements.db-name}}
MYSQL_USER: {{entitlements.db-user}}
MYSQL_PASSWORD: {{entitlements.db-password}}
volumes:
- {{entitlements.folder-path}}:/var/lib/mysql
ports:
- {{entitlements.port-number}}:3306
{{#unless (eq entitlements.os "windows")}}
user: {{entitlements.uid}}:{{entitlements.gid}}
{{/unless}}
logging:
driver: local