NearBeach SVG

Self Hosting

Host your own instance of NearBeach in Docker

Desktop Banner Screenshot

Step 1

Please copy the example code into a text editor of your choice

Step 2

Please fill out the appropriate details for the following fields;
- SMTP_EMAIL_HOST
- SMTP_EMAIL_PORT
- SMTP_EMAIL_HOST_USER
- SMTP_EMAIL_HOST_PASSWORD
- ADMIN_USERNAME
- ADMIN_EMAIL

Step 3

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.

Step 4

Please fill out the appropriate details for the following fields. Please note there are two of the same field, and they will need the same values;
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD

Step 5

Save the file in an appropriate location called "docker-compose.yml"

Step 6

Using a terminal, change directory to the location that you stored the docker-compose file. Run the following command: "docker-compose up -D"