-
Notifications
You must be signed in to change notification settings - Fork 133
[EN] Docker Installation
Lito edited this page Apr 4, 2024
·
1 revision
- Clone the repository.
git clone https://github.com/eusonlito/GPS-Tracker.git- [OPTIONAL] Copy file
docker/.env.exampleto.envand configure your own settings
cp docker/.env.example .env- [OPTIONAL] Copy file
docker/docker-compose.yml.exampletodocker/docker-compose.ymland configure your own settings
cp docker/docker-compose.yml.example docker/docker-compose.yml- Build docker images (will ask for the sudo password)
./docker/build.sh- Start containers (will ask for the sudo password)
./docker/run.sh- Create the admin user (will ask for the sudo password)
./docker/user.sh- Launch the Timezone GeoJSON fill (will ask for the sudo password)
./docker/timezone-geojson.sh-
Open your web browser and goto http://localhost:8080
-
Remember to add a web server (apache2, nginx, etc...) as a proxy to add features as SSL.
-
If you are going to add or change the default ports for GPS Devices (
8091) you must edit thegpstracker-appproperties indocker-compose.ymlto adapt them to your own configuration.
- Update the project source
git pull- Build docker images (will ask for the sudo password)
./docker/build.sh- Start containers (will ask for the sudo password)
./docker/run.sh- Open your web browser and goto http://localhost:8080