Skip to content

Commit

Permalink
feat: auto docker compose yml generator (#102)
Browse files Browse the repository at this point in the history
* feat: docker-compose generator

* version(nuxt): release 0.5.0-beta.23

* Update Pergel version and Docker Compose files

* Add types:docker-compose script

* version(nuxt): release 0.5.0-beta.24
  • Loading branch information
productdevbook committed Jan 2, 2024
1 parent 61237b8 commit 9aec01f
Show file tree
Hide file tree
Showing 12 changed files with 2,734 additions and 20 deletions.
9 changes: 6 additions & 3 deletions packages/nuxt/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@pergel/nuxt",
"type": "module",
"version": "0.5.0-beta.22",
"version": "0.5.0-beta.24",
"description": "Nuxt Full Stack modules. Start your next nuxt project fast and strong.",
"author": "Mehmet @productdevbook",
"license": "MIT",
Expand Down Expand Up @@ -55,7 +55,8 @@
"release": "pnpm dev:prepare && pnpm bumpp --commit='version(nuxt): release %s' --no-tag && pnpm publish",
"release:beta": "pnpm release --tag beta",
"release:alpha": "pnpm release --tag alpha",
"build:script": "pnpm --filter './build-script/**' build"
"build:script": "pnpm --filter './build-script/**' build",
"types:docker-compose": "esno scripts/compose-spec.ts"
},
"dependencies": {
"@nuxt/devtools": "^1.0.6",
Expand All @@ -67,7 +68,8 @@
"minimatch": "^9.0.3",
"pathe": "^1.1.1",
"sirv": "^2.0.4",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"yaml": "^2.3.4"
},
"devDependencies": {
"@aws-sdk/client-ses": "^3.484.0",
Expand All @@ -88,6 +90,7 @@
"@types/node-cron": "^3.0.11",
"bullmq": "^5.1.0",
"esbuild-plugin-file-path-extensions": "^2.0.0",
"json-schema-to-typescript": "^13.1.1",
"lucia": "3.0.0-beta.13",
"node-cron": "^3.0.3",
"nuxt": "^3.9.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/playground/pergel/README.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pergel:
# This file is generated by pergel. Do not edit it manually.
# Version: 0.5.0-beta.22
# Version: 0.5.0-beta.23
test:
ui:
# UI Download Template
Expand Down
24 changes: 24 additions & 0 deletions packages/nuxt/playground/pergel/test/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: pergel
version: 0.0.0
services:
postgres:
image: postgres:16-alpine
volumes:
- type: volume
source: pergel-postgres
target: /var/lib/postgresql/data
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
redis:
image: redis:alpine
restart: always
ports:
- 6379:6379
volumes:
- redis:/data
volumes:
pergel-postgres: {}
redis:
driver: local
Loading

0 comments on commit 9aec01f

Please sign in to comment.