Host your own instance of NearBeach in Docker
Please copy the example code into a text editor of your choice
Please fill out the appropriate details for the following fields;
- MARIADB_DATABSE
- MARIADB_MYSQL_LOCALHOST_USER
- MARIADB_PASSWORD
- MARIADB_ROOT_PASSWORD
- SMTP_EMAIL_HOST
- SMTP_EMAIL_PORT
- SMTP_EMAIL_HOST_USER
- SMTP_EMAIL_HOST_PASSWORD
- ADMIN_USERNAME
- ADMIN_EMAIL
Fill out the following field with the domain you are going to use for your NearBeach Instance;
- CSRF_TRUSTED_URLS=https://yourdomain.com.au
Please note the https - it is recommended to use https when using NearBeach.
Please fill out the appropriate details for the following fields;
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
Please note - these particular fields should match the fields stated inside the docker-compose file.
Save the file in an appropriate location called "docker-compose.yml"
Using a terminal, change directory to the location that you stored the docker-compose file. Run the following command: "docker-compose up -D"
If you would like to deploy NearBeach docker to a webserver, you can following the instructions on Nginx's blog