diff --git a/config/admin.ts b/config/admin.ts index 87bb389..157514a 100644 --- a/config/admin.ts +++ b/config/admin.ts @@ -1,28 +1,28 @@ -import type { Core, UID } from '@strapi/strapi' +import type { Core } from "@strapi/strapi"; const config = ({ - env, + env, }: Core.Config.Shared.ConfigParams): Core.Config.Admin => { - return { - auth: { - secret: env('ADMIN_JWT_SECRET'), - }, - apiToken: { - salt: env('API_TOKEN_SALT'), - }, - transfer: { - token: { - salt: env('TRANSFER_TOKEN_SALT'), - }, - }, - secrets: { - encryptionKey: env('ENCRYPTION_KEY'), - }, - flags: { - nps: env.bool('FLAG_NPS', true), - promoteEE: env.bool('FLAG_PROMOTE_EE', true), - }, - } -} + return { + auth: { + secret: env("ADMIN_JWT_SECRET"), + }, + apiToken: { + salt: env("API_TOKEN_SALT"), + }, + transfer: { + token: { + salt: env("TRANSFER_TOKEN_SALT"), + }, + }, + secrets: { + encryptionKey: env("ENCRYPTION_KEY"), + }, + flags: { + nps: env.bool("FLAG_NPS", true), + promoteEE: env.bool("FLAG_PROMOTE_EE", true), + }, + }; +}; -export default config +export default config; diff --git a/docker-compose.yml b/docker-compose.yml index bcac22d..c295096 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,14 +1,14 @@ services: - takerofnotes: - container_name: takerofnotes + nicwands: + container_name: nicwands build: context: . - image: takerofnotes-cms:latest + image: nicwands-cms:latest restart: unless-stopped env_file: .env environment: DATABASE_CLIENT: ${DATABASE_CLIENT} - DATABASE_HOST: takerofnotesDB + DATABASE_HOST: nicwandsDB DATABASE_NAME: ${DATABASE_NAME} DATABASE_USERNAME: ${DATABASE_USERNAME} DATABASE_PORT: ${DATABASE_PORT} @@ -20,7 +20,7 @@ services: - ./.env:/opt/app/.env - ./public/uploads:/opt/app/public/uploads depends_on: - - takerofnotesDB + - nicwandsDB healthcheck: test: - CMD @@ -31,8 +31,8 @@ services: interval: 5s retries: 3 - takerofnotesDB: - container_name: takerofnotesDB + nicwandsDB: + container_name: nicwandsDB platform: linux/amd64 restart: unless-stopped env_file: .env @@ -42,21 +42,21 @@ services: POSTGRES_PASSWORD: ${DATABASE_PASSWORD} POSTGRES_DB: ${DATABASE_NAME} volumes: - - takerofnotes-data:/var/lib/postgresql/data/ + - nicwands-data:/var/lib/postgresql/data/ - takerofnotesAdminer: - container_name: takerofnotesAdminer + nicwandsAdminer: + container_name: nicwandsAdminer image: adminer restart: unless-stopped environment: - - ADMINER_DEFAULT_SERVER=takerofnotesDB + - ADMINER_DEFAULT_SERVER=nicwandsDB depends_on: - - takerofnotesDB + - nicwandsDB volumes: - takerofnotes-data: + nicwands-data: networks: - takerofnotes: - name: takerofnotes + nicwands: + name: nicwands driver: bridge