Skip to content

Commit

Permalink
fixup! fix(docker): Add more user related optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGreatRefrigerator committed Feb 16, 2024
1 parent dead618 commit 3883bda
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 3883bda

Please sign in to comment.