https://github.com/eea/eionet.zope-2-7-2
Zope image for legacy applications
https://github.com/eea/eionet.zope-2-7-2
docker eionet zope
Last synced: 2 months ago
JSON representation
Zope image for legacy applications
- Host: GitHub
- URL: https://github.com/eea/eionet.zope-2-7-2
- Owner: eea
- Created: 2016-03-22T10:37:46.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-09T07:59:49.000Z (almost 10 years ago)
- Last Synced: 2025-05-30T19:02:57.734Z (about 1 year ago)
- Topics: docker, eionet, zope
- Language: Shell
- Size: 11 MB
- Stars: 0
- Watchers: 33
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Zope 2.7.2 installation
========================
This Dockerfile installs Python 2.3.5, MySQL database connector, Python LDAP
and Zope 2.7.2 from source packages. For convenience the packages are in
the directory, as they are 10 years old.
The installation expects the Zope instance to be located in /var/local/website
in the container namespace. This can then be mapped to whatever you want in the
docker-compose.yml file.
The Python interpreter is installed in /usr/local/bin/python and zope in /usr/local/zope
If the container doesn't find an etc/zope.conf file, then it creates a new instance
in /var/local/website.
You can set the user id to run zope as by setting the environment variable USERID to
a numeric value. If not set, then it defaults to 600.
Configuration
-------------
In the etc/zope.conf set the port of the embedded HTTP service to 8080.
```
# valid keys are "address" and "force-connection-close"
address 8080
# force-connection-close on
```
In the scripts under bin, make sure that the Python interpreter is /usr/local/bin/python
and ZOPE_HOME is /usr/local/zope.
Sources
-------
* https://www.python.org/download/releases/2.3.5/
* http://old.zope.org/Products/Zope/2.7.2/
Building
--------
The build the container locally do `docker-compose build`. When you push the changes to GitHub,
then the Docker Hub will build and publish at eeacms/zope-2-7-2:latest