Public | Automated Build

Last pushed: a month ago
Short Description
Short description is empty for this repo.
Full Description

EEA Glossary application docker setup

ZEO Server ready to run Docker image for EEA Glossary project.

Dockerhub repository

Installation

  1. Install Docker.
  2. Install Docker Compose.

Usage

$ git clone https://github.com/eea/eea.docker.glossary
$ cd eea.docker.glossary
$ docker-compose up -d

After all containers are started, you can access the application on http://\<IP\>, where IP is address of your machine.

Restore application data

If you have a Data.fs file for EEA Glossary application, you can add it with the following commands:

$ git clone https://github.com/eea/eea.docker.glossary
$ cd eea.docker.glossary
$ docker-compose up data
$ docker run -it --rm --volumes-from eeadockerglossary_data_1 -v \
  /path/to/parent/folder/of/Data.fs/file/:/mnt debian /bin/bash -c \
  "cp /mnt/Data.fs /var/local/zeostorage/var/ && chown 500:500 /var/local/zeostorage/var/Data.fs"

Data migration

You can access production Data.fs on Sparrow, it is located at:

/var/local/zope-instances/eeawebservices/eeawebservices-zeo-storage/var/Data.fs
Docker Pull Command
Owner
eeacms
Source Repository

Comments (0)