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 = ({
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;

View file

@ -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