forked from BRETT/BRETT
Initial Commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
db:
|
||||
image: mariadb:11
|
||||
container_name: nuxt-shadcn-demo-db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MARIADB_ROOT_PASSWORD: rootpassword
|
||||
MARIADB_DATABASE: nuxt_app
|
||||
MARIADB_USER: nuxt
|
||||
MARIADB_PASSWORD: nuxt_password
|
||||
ports:
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- db_data:/var/lib/mysql
|
||||
healthcheck:
|
||||
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 20
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
Reference in New Issue
Block a user