Commit d6420926 authored by Oleg Nikolaev's avatar Oleg Nikolaev
Browse files

Initial commit

parents
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+15 −0
Original line number Diff line number Diff line
# dependencies
/node_modules

# debug
npm-debug.log*

# env files (can opt-in for committing if needed)
.env*

# build
/dist

# strapi
/.strapi
 No newline at end of file

.strapi-updater.json

0 → 100644
+5 −0
Original line number Diff line number Diff line
{
	"latest": "5.12.3",
	"lastUpdateCheck": 1743759948996
}
 No newline at end of file

README.md

0 → 100644
+8 −0
Original line number Diff line number Diff line
# Приложение для администрирования контента SEO сайтов Maximum

Версия Node.js для запуска проекта - 22

## Запуск БД

`docker compose up -d`
 No newline at end of file

compose.yml

0 → 100644
+16 −0
Original line number Diff line number Diff line
services:
  database:
    image: postgres:17-alpine
    restart: always
    environment:
      POSTGRES_USER: ${DATABASE_USERNAME}
      POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
      POSTGRES_DB : ${DATABASE_NAME}
    ports:
      - "${DATABASE_PORT}:5432"
    volumes:
      - postgres_data:/var/lib/postgresql/data

volumes:
  postgres_data:
 No newline at end of file

config/admin.ts

0 → 100644
+17 −0
Original line number Diff line number Diff line
export default ({ env }) => ({
  auth: {
    secret: env('ADMIN_JWT_SECRET'),
  },
  apiToken: {
    salt: env('API_TOKEN_SALT'),
  },
  transfer: {
    token: {
      salt: env('TRANSFER_TOKEN_SALT'),
    },
  },
  flags: {
    nps: env.bool('FLAG_NPS', true),
    promoteEE: env.bool('FLAG_PROMOTE_EE', true),
  },
});