parent
fac17fbe23
commit
dac323a339
@ -1,6 +0,0 @@
|
||||
HOST=0.0.0.0
|
||||
PORT=1337
|
||||
APP_KEYS="toBeModified1,toBeModified2"
|
||||
API_TOKEN_SALT=tobemodified
|
||||
ADMIN_JWT_SECRET=tobemodified
|
||||
JWT_SECRET=tobemodified
|
||||
@ -0,0 +1,39 @@
|
||||
services:
|
||||
|
||||
# PostgreSQL (Database)
|
||||
#gs_postgres:
|
||||
# extends:
|
||||
# file: apps/backend/postgres.yml
|
||||
# service: gs_postgres
|
||||
|
||||
# MySQL (Database)
|
||||
gs_mysql:
|
||||
extends:
|
||||
file: ./mysql.yml
|
||||
service: gs_mysql
|
||||
|
||||
gs_phpmyadmin:
|
||||
extends:
|
||||
file: ./mysql.yml
|
||||
service: gs_phpmyadmin
|
||||
|
||||
gs_redis:
|
||||
image: "redis:alpine"
|
||||
ports:
|
||||
- "6379:6379"
|
||||
|
||||
gs_redis_commander:
|
||||
image: rediscommander/redis-commander:latest
|
||||
environment:
|
||||
- REDIS_HOSTS=local:gs_redis:6379
|
||||
ports:
|
||||
- "8081:8081"
|
||||
depends_on:
|
||||
- gs_redis
|
||||
|
||||
|
||||
volumes:
|
||||
gs_postgres-master:
|
||||
driver: local
|
||||
gs_mariadb-master:
|
||||
driver: local
|
||||
@ -0,0 +1,9 @@
|
||||
const fs = require('fs');
|
||||
const fse = require('fs-extra');
|
||||
const path = require('path');
|
||||
|
||||
fse.copySync(path.join(__dirname, '..', '..', 'apps/backend/public'), path.join(__dirname, '..', '..', 'dist', 'apps', 'backend/public'));
|
||||
fs.copyFileSync(path.join(__dirname, '..', '..', 'apps/backend/.env.staging'), path.join(__dirname, '..', '..', 'dist', 'apps', 'backend/.env'));
|
||||
fs.copyFileSync(path.join(__dirname, 'sources/server.js'), path.join(__dirname, '..', '..', 'dist', 'apps', 'backend/server.js'));
|
||||
fs.copyFileSync(path.join(__dirname, 'sources/package.json'), path.join(__dirname, '..', '..', 'dist', 'apps', 'backend/package.json'));
|
||||
fs.copyFileSync(path.join(__dirname, 'sources/.strapi-updater.json'), path.join(__dirname, '..', '..', 'dist', 'apps', 'backend/.strapi-updater.json'));
|
||||
@ -0,0 +1,31 @@
|
||||
{
|
||||
"name": "nx-guitar-school",
|
||||
"version": "0.0.0",
|
||||
"overrides": {
|
||||
"@strapi/strapi": "4.5.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/plugin-i18n": "4.5.4",
|
||||
"@strapi/plugin-users-permissions": "4.5.4",
|
||||
"@strapi/provider-email-nodemailer": "4.5.6",
|
||||
"@strapi/strapi": "4.5.4",
|
||||
"@strapi/utils": "4.5.6",
|
||||
"better-sqlite3": "7.4.6",
|
||||
"mysql": "2.18.1",
|
||||
"pg": "8.8.0",
|
||||
"strapi-plugin-import-export-entries": "1.18.0",
|
||||
"strapi-plugin-menus": "1.2.1",
|
||||
"strapi-plugin-populate-deep": "1.1.2"
|
||||
},
|
||||
"author": {
|
||||
"name": "A Strapi developer"
|
||||
},
|
||||
"strapi": {
|
||||
"uuid": "d1de7a93-c68b-4597-80ee-b5b56ea4eb10"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.19.1 <=18.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
const strapi = require('@strapi/strapi');
|
||||
const app = strapi({distDir: './dist'});
|
||||
app.start();
|
||||
Loading…
Reference in new issue