EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 655cea8b authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

remove notions of cache-db volume

parent ac8e9985
No related branches found
No related tags found
No related merge requests found
......@@ -198,20 +198,9 @@ docker stack rm vhr18-pvs # stop stack
docker volume rm vhr18-pvs_db-data # delete volumes
docker volume rm vhr18-pvs_redis-data
docker volume rm vhr18-pvs_traefik-data
docker volume rm vhr18-pvs_cache-db
docker volume rm vhr18-pvs_instance-data
```
Generate mapcache.sqlite
```bash
docker exec -it $(docker ps -qf "name=vhr18-pvs_renderer") python3 /var/www/pvs/dev/pvs_instance/manage.py mapcache sync -f
docker exec -it $(docker ps -qf "name=vhr18-pvs_renderer") mv VHR_IMAGE_2018.sqlite /cache-db/vhr18_mapcache_cache.sqlite
docker exec -it $(docker ps -qf "name=emg-pvs_renderer") python3 /var/www/pvs/dev/pvs_instance/manage.py mapcache sync -f
docker exec -it $(docker ps -qf "name=emg-pvs_renderer") mv Emergency.sqlite /cache-db/emg_mapcache_cache.sqlite
```
# Documentation
## Installation
......
......@@ -25,8 +25,6 @@ cd -
chown -R www-data:www-data "${INSTALL_DIR}"
mkdir -p "/cache-db/${COLLECTION}"
if [ ! -f "${APACHE_CONF}" ] ; then
echo "Adding Apache configuration"
......
......@@ -28,9 +28,6 @@ services:
volumes:
- type: tmpfs
target: /tmp
- type: volume
source: cache-db
target: /cache-db
- type: volume
source: instance-data
target: /var/www/pvs
......@@ -60,9 +57,6 @@ services:
volumes:
- type: tmpfs
target: /tmp
- type: volume
source: cache-db
target: /cache-db
env_file:
- env/dem.env
- env/dem_db.env
......@@ -83,9 +77,6 @@ services:
volumes:
- type: tmpfs
target: /tmp
- type: volume
source: cache-db
target: /cache-db
env_file:
- env/dem.env
- env/dem_obs.env
......@@ -179,7 +170,6 @@ configs:
volumes:
db-data:
redis-data:
cache-db:
instance-data:
networks:
intnet:
......@@ -28,9 +28,6 @@ services:
volumes:
- type: tmpfs
target: /tmp
- type: volume
source: cache-db
target: /cache-db
- type: volume
source: instance-data
target: /var/www/pvs
......@@ -60,9 +57,6 @@ services:
volumes:
- type: tmpfs
target: /tmp
- type: volume
source: cache-db
target: /cache-db
env_file:
- env/emg.env
- env/emg_db.env
......@@ -83,9 +77,6 @@ services:
volumes:
- type: tmpfs
target: /tmp
- type: volume
source: cache-db
target: /cache-db
env_file:
- env/emg.env
- env/emg_obs.env
......@@ -179,7 +170,6 @@ configs:
volumes:
db-data:
redis-data:
cache-db:
instance-data:
networks:
intnet:
......@@ -28,9 +28,6 @@ services:
volumes:
- type: tmpfs
target: /tmp
- type: volume
source: cache-db
target: /cache-db
- type: volume
source: instance-data
target: /var/www/pvs
......@@ -60,9 +57,6 @@ services:
volumes:
- type: tmpfs
target: /tmp
- type: volume
source: cache-db
target: /cache-db
env_file:
- env/vhr18.env
- env/vhr18_db.env
......@@ -83,9 +77,6 @@ services:
volumes:
- type: tmpfs
target: /tmp
- type: volume
source: cache-db
target: /cache-db
env_file:
- env/vhr18.env
- env/vhr18_obs.env
......@@ -179,7 +170,6 @@ configs:
volumes:
db-data:
redis-data:
cache-db:
instance-data:
networks:
intnet:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment