Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

EEA Eggrepo docker setup

NOTE: DEPRECATED - use eea.docker.cluereleasemanager instead

Docker "orchestration" for EEA Eggrepo, including images for Apache and Pypi Mirror.

You can find the base image for Apache Server here.

Installation

  1. Install Docker.
  2. Install Docker Compose.

Usage

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

Restore application data

Create a folder with SQLite database and a folder with all eggs:

$ mkdir -p eggrepo-data/files
$ cp /path/to/cluerelmgr.db eggrepo-data
$ cp /path/to/eggs/folder eggrepo-data/files

Exemple of the result:

$ ls eggrepo-data
cluerelmgr.db  files

$ ls eggrepo-data/files
b  c  e  h  i  j  l  m  p  s  t  v  z

$ ls eggrepo-data/files/c
cairosvg                    collective.quickupload       collective.sendaspdf      colorama
collective.googleanalytics  collective.recipe.distutils  collective.traceview      cornerstone.feed.core
collective.jstree           collective.recipe.template   collective.xmltestreport  cornerstone.feed.zope

After creation of eggrepo-data folder execute:

$ docker-compose up data
$ docker run -it --rm --volumes-from eeadockereggrepo_eggrepo_data_1 -v \
  /path/to/eggrepo-data:/mnt debian /bin/bash -c "cp -R /mnt/* /var/local/eggrepo"

Data migration

You can access production data on EEA Eggrepo. cluerelmgr.db is located at:

/var/local/eggrepo/cluerelmgr.db

Eggs folder is located at:

/var/local/eggrepo/files
Docker Pull Command
Owner
eeacms
Source Repository

Comments (0)