1
0
inception/README.md

40 lines
1.2 KiB
Markdown
Raw Normal View History

2025-03-05 20:30:12 +01:00
# Inception Project
This repository contains the Inception project, which requires specific environment variables and secrets to function correctly. Below are the instructions for setting up the necessary environment variables and secrets.
## Environment Variables
2025-03-05 20:31:22 +01:00
Create a `.env` file in the `srcs` directory of the project with the following environment variables:
2025-03-05 20:30:12 +01:00
```plaintext
DB_USER=your_database_user
DB_NAME=your_database_name
WP_ADMIN=your_wordpress_admin_user
WP_MAIL=your_wordpress_admin_email
2025-03-06 09:52:36 +01:00
WP_USER=your_wordpress_user
WP_USER_MAIL=your_wordpress_user_email
2025-03-05 20:30:12 +01:00
FTP_USER=your_ftp_user
```
## Secrets
The secrets/ directory contains sensitive information required for various services. Ensure that the following files are present with the appropriate secrets:
### Directory Structure
```
secrets/
├── borg
│ └── passphrase.txt # Borg backup passphrase
├── db
│ ├── root_pass.txt # Database root password
│ └── user_pass.txt # Database user password
├── ftp
│ └── pass.txt # FTP password
└── wp
2025-03-06 09:52:36 +01:00
├── admin_pass.txt # WordPress admin password
└── user_pass.txt # WordPress user password
2025-03-05 20:30:12 +01:00
```