mirror of
https://github.com/geoserver/geoserver-cloud.git
synced 2025-12-08 20:16:08 +00:00
Change volume mounts from /mnt/* to /opt/*
This commit is contained in:
parent
e0ea60c203
commit
b33a27b9f6
@ -29,10 +29,10 @@ services:
|
||||
image: alpine:3.18.4
|
||||
user: root
|
||||
volumes:
|
||||
- geoserver_data:/mnt/geoserver_data
|
||||
- geowebcache_data:/mnt/geowebcache_data
|
||||
- geoserver_data:/opt/geoserver_data
|
||||
- geowebcache_data:/opt/geowebcache_data
|
||||
- ./sampledata.tgz:/tmp/sampledata.tgz
|
||||
command: sh -c "chown -R ${GS_USER} /mnt/geoserver_data /mnt/geowebcache_data && cd /mnt/geoserver_data && if [ ! -d sampledata ]; then tar xvzf /tmp/sampledata.tgz && chown -R ${GS_USER} sampledata; fi"
|
||||
command: sh -c "chown -R ${GS_USER} /opt/geoserver_data /opt/geowebcache_data && cd /opt/geoserver_data && if [ ! -d sampledata ]; then tar xvzf /tmp/sampledata.tgz && chown -R ${GS_USER} sampledata; fi"
|
||||
|
||||
acl:
|
||||
image: ${ACL_REPOSITORY}/geoserver-acl:${ACL_TAG}
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
# Define reusable volume mounts as an anchor
|
||||
x-geoserver-volume-mounts: &geoserver_volumes
|
||||
- geowebcache_data:/mnt/geowebcache_data
|
||||
- geoserver_data:/mnt/geoserver_data
|
||||
- geowebcache_data:/opt/geowebcache_data
|
||||
- geoserver_data:/opt/geoserver_data
|
||||
|
||||
# Define reusable environment variables
|
||||
x-geoserver-env: &geoserver_environment
|
||||
SPRING_PROFILES_ACTIVE: "${GEOSERVER_DEFAULT_PROFILES}"
|
||||
# Enable the PostGIS JNDI datasource (for development purposes)
|
||||
JNDI_POSTGIS_ENABLED: true
|
||||
GEOWEBCACHE_CACHE_DIR: /mnt/geowebcache_data
|
||||
GEOWEBCACHE_CACHE_DIR: /opt/geowebcache_data
|
||||
JAVA_OPTS: "${JAVA_OPTS_GEOSERVER}"
|
||||
|
||||
services:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user