-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing files for using docker-compose
- Loading branch information
Showing
3 changed files
with
712 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
version: '3' | ||
services: | ||
zookernel: | ||
platform: linux/amd64 | ||
image: zooproject/zoo-project:dru-latest | ||
#build: | ||
# context: . | ||
# dockerfile: docker/dru/Dockerfile | ||
ports: | ||
- "80:80" | ||
volumes: | ||
- ./docker/dru/main.cfg:/usr/lib/cgi-bin/main.cfg | ||
- ./docker/dru/oas.cfg:/usr/lib/cgi-bin/oas.cfg | ||
- ./docker/default.conf:/etc/apache2/sites-available/000-default.conf | ||
# Uncomment below to expose a process named org.n52.javaps.test.EchoProcess | ||
#- ./zoo-project/zoo-services/echo-py/cgi-env:/usr/lib/cgi-bin/org/n52/javaps/test | ||
- ./zoo-project/zoo-services/echo-py/cgi-env/echo_service.py:/usr/lib/cgi-bin/echo_service.py | ||
- ./zoo-project/zoo-services/echo-py/cgi-env/echo.zcfg:/usr/lib/cgi-bin/echo.zcfg | ||
- ./zoo-project/zoo-services/utils/open-api/server/publish.py:/usr/lib/cgi-bin/publish.py | ||
- ./zoo-project/zoo-services/utils/open-api/server/subscriber.py:/usr/lib/cgi-bin/subscriber.py | ||
- ./docker/mapserver.conf:/mapserver/etc/mapserver.conf | ||
- ./docker/.htaccess:/var/www/html/.htaccess | ||
- ./zoo-project/zoo-services/utils/open-api/templates/index.html:/var/www/index.html | ||
- ./zoo-project/zoo-services/utils/open-api/static:/var/www/html/static | ||
- ./docker/com:/usr/com/zoo-project | ||
- ./docker/tmp:/tmp/zTmp | ||
depends_on: | ||
- pgbouncer | ||
- redis | ||
- rabbitmq | ||
environment: | ||
- ZOO_REDIS_HOST=redis | ||
- APACHE_RUN_DIR=/var/run/apache2 | ||
- APACHE_RUN_USER=www-data | ||
- APACHE_RUN_GROUP=www-data | ||
- APACHE_LOG_DIR=/var/log/apache2 | ||
zoofpm: | ||
platform: linux/amd64 | ||
image: zooproject/zoo-project:dru-latest | ||
volumes: | ||
- ./docker/dru/main.cfg:/usr/lib/cgi-bin/main.cfg | ||
- ./docker/dru/oas.cfg:/usr/lib/cgi-bin/oas.cfg | ||
- ./docker/tmp:/tmp/zTmp | ||
- ./docker/mapserver.conf:/mapserver/etc/mapserver.conf | ||
- ./docker/com:/usr/com/zoo-project | ||
# Uncomment below to expose a process named org.n52.javaps.test.EchoProcess | ||
#- ./zoo-project/zoo-services/echo-py/cgi-env:/usr/lib/cgi-bin/org/n52/javaps/test | ||
- ./zoo-project/zoo-services/echo-py/cgi-env/echo_service.py:/usr/lib/cgi-bin/echo_service.py | ||
- ./zoo-project/zoo-services/echo-py/cgi-env/echo.zcfg:/usr/lib/cgi-bin/echo.zcfg | ||
depends_on: | ||
- rabbitmq | ||
- pgbouncer | ||
environment: | ||
- ZOO_RABBITMQ_HOST=rabbitmq | ||
command: [ "/startUp.sh" ] | ||
websocketd: | ||
#platform: linux/amd64 | ||
build: ./docker/websocketd | ||
depends_on: | ||
- redis | ||
ports: | ||
- 8888:8888 | ||
environment: | ||
- ZOO_REDIS_HOST=redis | ||
volumes: | ||
- ./zoo-project/zoo-services/utils/open-api/server/subscriber.py:/shell.py | ||
command: ["--port=8888", "/shell.py"] | ||
pg: | ||
#platform: linux/amd64 | ||
image: postgres:12.10-alpine | ||
restart: always | ||
environment: | ||
POSTGRES_USER: zoo | ||
POSTGRES_PASSWORD: zoo | ||
POSTGRES_DB: zoo | ||
volumes: | ||
# Load the zoo kernel schema | ||
- ./zoo-project/zoo-kernel/sql/schema.sql:/docker-entrypoint-initdb.d/1-schema.sql | ||
# Load the async AMQP schema | ||
- ./zoo-project/zoo-kernel/sql/async_amqp.sql:/docker-entrypoint-initdb.d/2-schema.sql | ||
depends_on: | ||
- rabbitmq | ||
pgbouncer: | ||
#platform: linux/amd64 | ||
image: edoburu/pgbouncer:1.12.0 | ||
environment: | ||
DATABASE_URL: "postgres://zoo:zoo@pg/zoo" | ||
MAX_CLIENT_CONN: 1000 | ||
MAX_DB_CONNECTIONS: 100 | ||
DEFAULT_POOL_SIZE: 100 | ||
POOL_MODE: transaction | ||
depends_on: | ||
- pg | ||
redis: | ||
image: redis:6.0.9 | ||
rabbitmq: | ||
image: rabbitmq:3.8.9-management-alpine | ||
volumes: | ||
- ./docker/definitions.json:/etc/rabbitmq/definitions.json | ||
teamengine: | ||
image: zooproject/ets-ogcapi-processes10:latest | ||
volumes: | ||
- ./docker/ets-ogcapi-processes/test-run-props.xml:/root/test-run-props.xml | ||
- ./docker/ets-ogcapi-processes/src1/ets-ogcapi-processes10/src/main/config/teamengine/config.xml:/root/teamengine/config.xml | ||
- ./docker/ets-ogcapi-processes/test.sh:/root/test.sh | ||
ports: | ||
- "8080:8080" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
[main] | ||
encoding = utf-8 | ||
version = 1.0.0 | ||
serverAddress = http://localhost/cgi-bin/zoo_loader.cgi | ||
language = en-US | ||
lang = fr-FR,en-CA,en-US | ||
tmpPath=/tmp/zTmp/ | ||
tmpUrl = http://localhost/temp/ | ||
dataPath = /usr/com/zoo-project | ||
cacheDir = /tmp/zTmp/ | ||
templatesPath = /var/www/ | ||
mapserverAddress = http://localhost/cgi-bin/mapserv | ||
msOgcVersion=1.0.0 | ||
cors=true | ||
memory=protect | ||
msConfig=/mapserver/etc/mapserver.conf | ||
|
||
[identification] | ||
title = The ZOO-Project with DRU support for CWL deployment through OGC API - Processes - Part 2: Deploy, Replace, Undeploy | ||
abstract = Developement version of ZOO-Project OGC WPS. See <a target="_blank" href="http://www.zoo-project.org">http://zoo-project.org</a> for more informations. <br/>You can access the current <a href="https://docs.ogc.org/DRAFTS/20-044.html" target="_blank">OGC API - Processes - Part 2: Deploy, Replace, Undeploy draft specification</a>. | ||
fees = None | ||
accessConstraints = none | ||
keywords = WPS,GIS,buffer | ||
|
||
[provider] | ||
providerName=ZOO-Project | ||
providerSite=http://www.zoo-project.org | ||
individualName=Gerald FENOY | ||
positionName=Developer | ||
role=Dev | ||
addressDeliveryPoint=1280, avenue des Platanes | ||
addressCity=Lattes | ||
addressAdministrativeArea=False | ||
addressPostalCode=34970 | ||
addressCountry=fr | ||
addressElectronicMailAddress=gerald.fenoy@geolabs.fr | ||
phoneVoice=False | ||
phoneFacsimile=False | ||
|
||
[database] | ||
dbname=zoo | ||
port=5432 | ||
user=zoo | ||
password=zoo | ||
host=pgbouncer | ||
type=PG | ||
schema=public | ||
|
||
[security] | ||
hosts=http://localhost | ||
attributes=Accept-Language | ||
|
||
[env] | ||
R_HOME=/usr/lib/R | ||
ITK_AUTOLOAD_PATH=/usr/lib/x86_64-linux-gnu/otb/applications/ | ||
MODULE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/saga/ | ||
HOME=/var/lib/apache2 | ||
|
||
[rabbitmq] | ||
host=rabbitmq | ||
port=5672 | ||
user=guest | ||
passwd=guest | ||
exchange=amq.direct | ||
routingkey=zoo | ||
queue=zoo_service_queue | ||
|
||
[server] | ||
async_worker=20 | ||
|
||
[servicesNamespace] | ||
path=/opt/zooservices_namespaces | ||
deploy_service_provider=DeployProcess | ||
undeploy_service_provider=UndeployProcess | ||
has_jwt_service=true | ||
required_files=DeployProcess.py,DeployProcess.zcfg,UndeployProcess.py,UndeployProcess.zcfg,service.py,security_service.py,securityOut.zcfg,deploy_util.py |
Oops, something went wrong.