Skip to content

Commit

Permalink
Add docker-compose to CDN
Browse files Browse the repository at this point in the history
  • Loading branch information
yunusefendi52 committed Jan 28, 2025
1 parent 2eba8e0 commit 3a5d877
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
14 changes: 14 additions & 0 deletions public/docker/docker-compose-base.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
NUXT_APP_ENABLE_DRIZZLE_LOGGING=false
NUXT_PUBLIC_GOOGLE_CLIENT_ID=sample-fc72420db46b4bfaaba8ea97a74535a7.apps.googleusercontent.com
NUXT_APP_MIGRATION_ENABLE=true
NUXT_BUNDLEAAB_KEYSTORE_URL=/.known-jks/distapp_test.jks
NUXT_BUNDLEAAB_KEYSTORE_ALIAS=DistApp
NUXT_BUNDLEAAB_KEYSTORE_PASS=tmEpYcMc9JiKpFZvXvv3VPjfTmQCTKBUEQA8Ce6gA5DVYXZnEHyjPnMWNo8EVG
NUXT_APP_LIMIT_ORG=1024
NUXT_APP_LIMIT_APPS=1024
NUXT_APP_LIMIT_APPS_GROUP=1024
NUXT_APP_LIMIT_INVITE_ORGS=1024
NUXT_APP_LIMIT_API_KEYS=1024
NUXT_APP_LIMIT_APPS_TESTER_GROUPS=1024
NUXT_APP_LIMIT_ARTIFACT=4096
NUXT_APP_DISABLE_BILLING=true
14 changes: 14 additions & 0 deletions public/docker/docker-compose.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# user=password:user=password;
NUXT_LOCAL_AUTHS=admin=wEHvOUtcyKOAyiV8L4vlElMfZl3cwxOoMR7uGKOSAuQM
NUXT_PUBLIC_LOCAL_AUTH_ENABLED=true
NUXT_APP_ENABLE_DRIZZLE_LOGGING=false
NUXT_DB_URL=http://db:8080
NUXT_DB_AUTH_TOKEN=basic:c3FsZDpSMm0zRW9Xb2g4aE5tYTJucjkwZkdpTUdHZm5JRGM0OEpIcEVWVldZclMwd013Cg==
SQLD_HTTP_AUTH=${NUXT_DB_AUTH_TOKEN}
NUXT_S3_ENDPOINT=http://192.168.1.81:9000
NUXT_S3_ACCESS_KEY_ID=jjGTj5w7YHQx4WC9m8mGffKXS3aWraIfUv0idRODYNM53M
NUXT_S3_SECRET_ACCESS_KEY=u9W8i3iu4sciIqzJWeAlut118l2bLFzR8tZpoqtG8MQ1rY
MINIO_ROOT_USER=${NUXT_S3_ACCESS_KEY_ID}
MINIO_ROOT_PASSWORD=${NUXT_S3_SECRET_ACCESS_KEY}
NUXT_JWT_KEY=xvIMvMNDpzMB5tPgY9TCKXcFljUl6BDF77t8mUR4le4iM
NUXT_APP_API_AUTH_KEY=lV09V0vUjb3hRRa3ysdldb2eHaRKOmqF5DKV8ktqyRJk
33 changes: 33 additions & 0 deletions public/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
services:
distapp:
image: 5yunus2efendi/distapp:latest
platform: linux/amd64
ports:
- "3000:3000"
env_file:
- docker-compose-base.env
- docker-compose.env
depends_on:
- minio
- db
minio:
image: bitnami/minio:2024.12.18
ports:
- '9000:9000'
- '9001:9001'
env_file:
- docker-compose.env
environment:
- MINIO_DEFAULT_BUCKETS=distapp
volumes:
- 'minio_data:/bitnami/minio/data'
db:
image: ghcr.io/tursodatabase/libsql-server:v0.24.31
platform: linux/amd64
env_file:
- docker-compose.env
volumes:
- db:/var/lib/sqld
volumes:
db:
minio_data:

0 comments on commit 3a5d877

Please sign in to comment.