replace name

This commit is contained in:
nicwands 2026-06-02 20:23:37 -04:00
parent dbd0ef5678
commit ebb586d08a
2 changed files with 39 additions and 39 deletions

View file

@ -1,28 +1,28 @@
import type { Core, UID } from '@strapi/strapi' import type { Core } from "@strapi/strapi";
const config = ({ const config = ({
env, env,
}: Core.Config.Shared.ConfigParams): Core.Config.Admin => { }: Core.Config.Shared.ConfigParams): Core.Config.Admin => {
return { return {
auth: { auth: {
secret: env('ADMIN_JWT_SECRET'), secret: env("ADMIN_JWT_SECRET"),
}, },
apiToken: { apiToken: {
salt: env('API_TOKEN_SALT'), salt: env("API_TOKEN_SALT"),
}, },
transfer: { transfer: {
token: { token: {
salt: env('TRANSFER_TOKEN_SALT'), salt: env("TRANSFER_TOKEN_SALT"),
}, },
}, },
secrets: { secrets: {
encryptionKey: env('ENCRYPTION_KEY'), encryptionKey: env("ENCRYPTION_KEY"),
}, },
flags: { flags: {
nps: env.bool('FLAG_NPS', true), nps: env.bool("FLAG_NPS", true),
promoteEE: env.bool('FLAG_PROMOTE_EE', true), promoteEE: env.bool("FLAG_PROMOTE_EE", true),
}, },
} };
} };
export default config export default config;

View file

@ -1,14 +1,14 @@
services: services:
takerofnotes: nicwands:
container_name: takerofnotes container_name: nicwands
build: build:
context: . context: .
image: takerofnotes-cms:latest image: nicwands-cms:latest
restart: unless-stopped restart: unless-stopped
env_file: .env env_file: .env
environment: environment:
DATABASE_CLIENT: ${DATABASE_CLIENT} DATABASE_CLIENT: ${DATABASE_CLIENT}
DATABASE_HOST: takerofnotesDB DATABASE_HOST: nicwandsDB
DATABASE_NAME: ${DATABASE_NAME} DATABASE_NAME: ${DATABASE_NAME}
DATABASE_USERNAME: ${DATABASE_USERNAME} DATABASE_USERNAME: ${DATABASE_USERNAME}
DATABASE_PORT: ${DATABASE_PORT} DATABASE_PORT: ${DATABASE_PORT}
@ -20,7 +20,7 @@ services:
- ./.env:/opt/app/.env - ./.env:/opt/app/.env
- ./public/uploads:/opt/app/public/uploads - ./public/uploads:/opt/app/public/uploads
depends_on: depends_on:
- takerofnotesDB - nicwandsDB
healthcheck: healthcheck:
test: test:
- CMD - CMD
@ -31,8 +31,8 @@ services:
interval: 5s interval: 5s
retries: 3 retries: 3
takerofnotesDB: nicwandsDB:
container_name: takerofnotesDB container_name: nicwandsDB
platform: linux/amd64 platform: linux/amd64
restart: unless-stopped restart: unless-stopped
env_file: .env env_file: .env
@ -42,21 +42,21 @@ services:
POSTGRES_PASSWORD: ${DATABASE_PASSWORD} POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
POSTGRES_DB: ${DATABASE_NAME} POSTGRES_DB: ${DATABASE_NAME}
volumes: volumes:
- takerofnotes-data:/var/lib/postgresql/data/ - nicwands-data:/var/lib/postgresql/data/
takerofnotesAdminer: nicwandsAdminer:
container_name: takerofnotesAdminer container_name: nicwandsAdminer
image: adminer image: adminer
restart: unless-stopped restart: unless-stopped
environment: environment:
- ADMINER_DEFAULT_SERVER=takerofnotesDB - ADMINER_DEFAULT_SERVER=nicwandsDB
depends_on: depends_on:
- takerofnotesDB - nicwandsDB
volumes: volumes:
takerofnotes-data: nicwands-data:
networks: networks:
takerofnotes: nicwands:
name: takerofnotes name: nicwands
driver: bridge driver: bridge