mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-18 01:12:53 +00:00
- Added a Docker entrypoint script to manage content repository cloning and updates. - Updated server configuration to include public URL and proxy settings. - Enhanced content file utilities to return file paths for written entries. - Introduced GitPublisher class for handling Git operations and deployments. - Added tests for Git publishing functionality. - Updated Dockerfile and docker-compose for production setup. - Added new public PGP key and security.txt for contact information. - Created new About and Archive pages in the site. - Updated site configuration to include new navigation links.
19 lines
452 B
TypeScript
19 lines
452 B
TypeScript
import type { Core } from "@strapi/strapi";
|
|
|
|
const config = ({
|
|
env,
|
|
}: Core.Config.Shared.ConfigParams): Core.Config.Server => ({
|
|
host: env("HOST", "0.0.0.0"),
|
|
port: env.int("PORT", 1337),
|
|
url: env("PUBLIC_URL", "http://localhost:1337"),
|
|
proxy: env.bool("IS_PROXIED", false),
|
|
app: {
|
|
keys: env.array("APP_KEYS")!,
|
|
},
|
|
webhooks: {
|
|
populateRelations: env.bool("WEBHOOKS_POPULATE_RELATIONS", false),
|
|
},
|
|
});
|
|
|
|
export default config;
|