diff --git a/README.md b/README.md index 3262ce73..ad9b3413 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,9 @@ Photoview is a simple and user-friendly photo gallery that can easily be installed on personal servers. It's made for photographers and aims to provide an easy and fast way to navigate directories, with thousands of high resolution photos. +> If you have questions regarding setup or development, +feel free to join the Discord server https://discord.gg/jQ392948u9 + ## Demo site Visit https://photos.qpqp.dk/ @@ -20,7 +23,6 @@ Password: **demo** ## Contents - [Demo site](#demo-site) -- [Aim of the project](#aim-of-the-project) - [Main features](#main-features) - [Why yet another self-hosted photo gallery](#why-yet-another-self-hosted-photo-gallery) - [Getting started - Setup with Docker](#getting-started---setup-with-docker) diff --git a/docker-compose.example.yml b/docker-compose.example.yml index 0b3046b2..481fb60e 100644 --- a/docker-compose.example.yml +++ b/docker-compose.example.yml @@ -7,7 +7,7 @@ services: environment: - MYSQL_DATABASE=photoview - MYSQL_USER=photoview - - MYSQL_PASSWORD=photo-secret + - MYSQL_PASSWORD=photosecret - MYSQL_RANDOM_ROOT_PASSWORD=1 volumes: - db_data:/var/lib/mysql @@ -21,7 +21,7 @@ services: - db environment: - - MYSQL_URL=photoview:photo-secret@tcp(db)/photoview + - PHOTOVIEW_MYSQL_URL=photoview:photosecret@tcp(db)/photoview - PHOTOVIEW_LISTEN_IP=photoview - PHOTOVIEW_LISTEN_PORT=80 - PHOTO_CACHE=/app/cache diff --git a/ui/src/Pages/PlacesPage/PlacesPage.js b/ui/src/Pages/PlacesPage/PlacesPage.js index 8f3d54eb..ce235163 100644 --- a/ui/src/Pages/PlacesPage/PlacesPage.js +++ b/ui/src/Pages/PlacesPage/PlacesPage.js @@ -59,6 +59,9 @@ const MapPage = () => { zoom: 1, }) + // Add map navigation control + map.current.addControl(new mapboxLibrary.NavigationControl()) + map.current.on('load', () => { map.current.addSource('media', { type: 'geojson',