This repository was archived by the owner on Jun 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +41
-16
lines changed Expand file tree Collapse file tree 3 files changed +41
-16
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,4 @@ DATABASE_CLIENT=mysql2
4
4
DATABASE_USERNAME = vim
5
5
DATABASE_PASSWORD = super-secret
6
6
DATABASE_PORT = 3306
7
- DATABASE_SSL = false
8
-
9
- WEB_DATABASE_NAME = vim
10
- NEXT_PRIVATE_STANDALONE = true
11
- NEXTAUTH_SECRET = testsecret
12
-
13
- CMS_DATABASE_NAME = vim_cms
14
- CMS_HOST = 0.0.0.0
15
- CMS_PORT = 1337
16
- CMS_APP_KEYS = testkey1,testkey2
17
- CMS_API_TOKEN_SALT = testtoken
18
- CMS_ADMIN_JWT_SECRET = testsecret
19
- CMS_JWT_SECRET = testsecret
20
- CMS_TRANSFER_TOKEN_SALT = testtoken
21
- CMS_DISABLE_UPDATE_NOTIFICATION = false
22
- CMS_TELEMETRY_DISABLED = true
7
+ DATABASE_SSL = false
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Copy .env.example to .env on root
4
+ cp .env.example .env
5
+
6
+ # Copy .env.example to .env on cms
7
+ cd cms
8
+ cp .env.example .env
9
+ cd ..
10
+
11
+ # Copy .env.example to .env on web
12
+ cd web
13
+ cp .env.example .env
14
+ cd ..
15
+
16
+ echo " All .env.example contents have been copied to .env"
17
+
18
+ docker compose -f docker-compose.local.yml up
Original file line number Diff line number Diff line change
1
+ NODE_ENV = development
2
+
3
+ DATABASE_CLIENT = mysql2
4
+ DATABASE_USERNAME = vim
5
+ DATABASE_PASSWORD = super-secret
6
+ DATABASE_PORT = 3306
7
+ DATABASE_SSL = false
8
+
9
+ WEB_DATABASE_NAME = vim
10
+ NEXT_PRIVATE_STANDALONE = true
11
+ NEXTAUTH_SECRET = testsecret
12
+
13
+ CMS_DATABASE_NAME = vim_cms
14
+ CMS_HOST = 0.0.0.0
15
+ CMS_PORT = 1337
16
+ CMS_APP_KEYS = testkey1,testkey2
17
+ CMS_API_TOKEN_SALT = testtoken
18
+ CMS_ADMIN_JWT_SECRET = testsecret
19
+ CMS_JWT_SECRET = testsecret
20
+ CMS_TRANSFER_TOKEN_SALT = testtoken
21
+ CMS_DISABLE_UPDATE_NOTIFICATION = false
22
+ CMS_TELEMETRY_DISABLED = true
You can’t perform that action at this time.
0 commit comments