Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.3 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.3 KB

Libregifts

wakatime

A charity website to help Ukrainians in the Czech Republic and during Christmas to help an orphanage in Pyšely.

Deploying

This project has a prepared docker-compose.yml, so you can easily deploy this website by cloning it and running docker-compose up -d. Make sure to add environment variables (listed below), so default passwords aren't used.

git clone [email protected]:marekvospel/libregifts.git
docker-compose up -d

Environment variables

Ad the following variables to .env to customize libregifts behaviour

MySQL

MYSQL_USER, MYSQL_PASSWORD, MYSQL_ROOT_PASSWORD, MYSQL_DATABASE
MySQL credentials, use strong password for MYSQL_PASSWORD and MYSQL_ROOT_PASSWORD

SMTP

SMTP_HOST, SMTP_PORT, SMTP_SECURE, SMTP_USERNAME, SMTP_PASSWORD Credentials to an external SMTP server.

LIBREGIFTS

LIBREGIFTS_EMAIL, LIBREGIFTS_PASSWORD, LIBREGIFTS_NAME, LIBREGIFTS_SURNAME Credentials to default Libregifts account. (automatically created on first startup)

JWT_SECRET

JWT_SECRET JWT secret, that backend always trusts. Don't share this secret with anyone, and make sure it follows strong password standards