A platform to share beautiful moments with the people you ❤️ the most.
Maggor is perfectly optimized to work with Docker. An installation without docker is possible but not recommended.
- If you haven't Docker installed, follow the Docker installation steps for your operating system.
- Clone this repository with
git clone https://github.com/Gregor-Gottschewski/Maggor.git
and edit the configuration file/conf/conf.prop
for your needs. See the chapter configuration file for more information. - Change the database password stored in
.env
before running Maggor. This password is used to initialize the MongoDB database for the first time. - Run
docker-compose up
in the project's directory. - Visit
http://<your_ip or localhost>:8080/login.xhtml
.
The configuration file in config
has to contain the following configurations:
user.password
: Password of the application user
login.title
: Title shown on the login page
login.subtitle
: Subtitle shown on the login page
login.footer
: Footer on the login page
If the values aren't set, default values are used.
user.password=<user_password_here>
# UI
login.title=Here is the title
login.subtitle=Here is the subtitle
login.footer=This is the footer
Change the environment variables in .env
to your needs.
The only configuration that has to be changed is DB_PASSWORD
.
Environment Variable | Description | Used In | Default / Value |
---|---|---|---|
DB_USERNAME |
Username for connecting to MongoDB | maggor |
maggor |
DB_PASSWORD |
Password for connecting to MongoDB | maggor |
secure123 |
MONGO_INITDB_ROOT_USERNAME |
Root user to initialize MongoDB | mongo |
maggor |
MONGO_INITDB_ROOT_PASSWORD |
Root password to initialize MongoDB | mongo |
secure123 |
MONGO_INITDB_DATABASE |
Database to create during initialization | mongo |
admin |