Skip to content
Iva edited this page Aug 23, 2024 · 3 revisions

Env file

  • Temporary .env file

    • Create an .env file in the same /srcs directory as the docker-compose.yml, and fill it with the variables used and their values:
    CRED_PATH=/etc/nginx/certs
    CRED_CERT=nginx-selfsigned.crt
    CRED_KEY=nginx-selfsigned.key
    
    COUNTRY=BR
    STATE=Pernambuco
    LOCALITY=Recife
    ORGANIZATION=42Porto
    ORG_UNIT=Cadet
    COMMON_NAME=ivbatist.42.fr
    
    DB_NAME=dbsite
    DB_USER=dbuser
    DB_PASSWORD=123456789
    DB_HOST=mariadb
    
    WP_DOMAIN=ivbatist.42.fr
    WP_TITLE=inception
    WP_ADMIN_USER=ivbatist
    WP_ADMIN_PASSWORD=1234567890
    WP_ADMIN_EMAIL=ivbatist@inception.com
    WP_GUEST_USER=guest
    WP_GUEST_PASSWORD=123456789
    WP_GUEST_EMAIL=guest@inception.com
    

    👉🏼 Remember to delete the temporary .env file from your repository before sending the project for evaluation

⏮️ Previous

Clone this wiki locally