From 3883bda7e88cfd5a2c56bb9c35233a58f8f93e21 Mon Sep 17 00:00:00 2001 From: Amandus Butzer Date: Fri, 16 Feb 2024 13:23:10 +0100 Subject: [PATCH] fixup! fix(docker): Add more user related optimizations --- docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9a5409bdb9..9894286d76 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,7 @@ services: - "9001:9001" # Expose additional port for monitoring (optional) image: openrouteservice/openrouteservice:nightly #user: "0:0" # Set the user and group to 0 to avoid permission issues. Advanced option! - volumes: + volumes: # Mount relative directories. ONLY for local container runtime. To switch to docker managed volumes see 'Docker Volumes configuration' section below. - ./graphs:/home/ors/graphs # Mount graphs directory - ./elevation_cache:/home/ors/elevation_cache # Mount elevation cache directory - ./config:/home/ors/config # Mount configuration directory @@ -68,10 +68,10 @@ services: # retries: 3 # disable: false -# ----------------- Volumes configuration ------------------- # -# Define the volumes for the ORS application (optional). -# The volumes are used to persist the data and configuration of the ORS application. -# If you want to use the volumes, uncomment the following lines and remove the ./ prefix from the volume paths under the 'volumes:' section. +# ----------------- Docker Volumes configuration ------------------- # +# Define the Docker managed volumes for the ORS application. For more info on Docker Volumes see https://docs.docker.com/compose/compose-file/07-volumes/ +# Volumes are used to persist the data and configuration of the ORS application. +# If you want to use volumes, uncomment the following lines and remove the ./ prefix from the volume paths in 'services.ors-app.volumes'. #volumes: # graphs: # elevation_cache: