Below you will find my live Pelican compose file. I recommend placing this in your Github repo and use GitOps to manage updating the container versions
# --- Passwords ---## The longer the better. Feel free to use passphrasesMYSQL_ROOT_PASS=MYSQL_PASS=# --- Mail Configuration ---## Defaults to Gmail - you can review the compose file for the variables and edit for other SMTP servers if neededMAIL_FROM=MAIL_USERNAME=MAIL_PASSWORD=
Take note of your App Key - save it into your password vault and add it to your .env as APP_KEY=
Restart the panel container
This is to reduce the risk of The MAC key is invalid bricking your panel - if its occurs and you don't have the key, you will need to reinstall Pelican
Generate Database and Administrator account
Enter the Console for the Panel container, by using either docker exec or by using your flavour of Docker webUI
Run the below command to generate the database tables and a generic admin account
These credentials need to be changed ASAP
Navigate to your panel URL
Log in with the generic admin credentials created above (admin/admin)
Click on the profile picture in the top right, then select profile
Update the username and password to be random generated
Save these in your password vault
Update the email address
As the front end of the panel is public facing, it is best to randomly generate BOTH the username and password to reduce the risk of someone breaking in
Panel Configuration
Fix the proxy address
Click on the profile picture in the top right, then select admin
On the left, select settings
Under Trusted Proxies, click on 'Set to Cloudflare IPs'
Add 192.168.253.0/24
This is the IP range of the Pelican management network, which contains the Cloudflare tunnel container.
This resolves some upload failure errors
Click on save
Create your user roles
Navigate to your panel URL and access the admin side
On the left, select Roles
These are my settings:
Tick everything!
My settings may not work for your use-case, but they will be a good starting point
Configure any OAuth methods you wish to use - Pelican will provide you with steps on how to configure each one.
I recommend Discord and Steam
I would also recommend enabling automatic linking but not account creation