source: trunk/docker-compose.yml @ 982

Last change on this file since 982 was 982, checked in by djay, 9 months ago

Update version 1.8.1-dev, use demos from github and build basic services in the Dockerfile

File size: 1.7 KB
Line 
1version: '3'
2services:
3  zookernel:
4    build: .
5    ports:
6      - "80:80"
7    volumes:
8      - ./docker/main.cfg:/usr/lib/cgi-bin/main.cfg
9      - ./docker/oas.cfg:/usr/lib/cgi-bin/oas.cfg
10      - ./docker/default.conf:/etc/apache2/sites-available/000-default.conf
11      - ./zoo-project/zoo-services/utils/open-api/server/publish.py:/usr/lib/cgi-bin/publish.py
12      - ./zoo-project/zoo-services/utils/open-api/server/subscriber.py:/usr/lib/cgi-bin/subscriber.py
13      - ./docker/.htaccess:/var/www/html/.htaccess
14      - ./zoo-project/zoo-services/utils/open-api/templates/index.html:/var/www/index.html
15      - ./zoo-project/zoo-services/utils/open-api/static:/var/www/html/static
16      - ../zoo-demos/zoo-demos-202102/examples:/var/www/html/examples
17      - ../zoo-demos/zoo-demos-202102/data/topofr.tif:/usr/com/zoo-project/topofr.tif
18    depends_on:
19      - pgbouncer
20    environment:
21      - ZOO_REDIS_HOST=redis
22  websocketd:
23    build: ./docker/websocketd
24    ports:
25      - 8888:8888
26    environment:
27      - ZOO_REDIS_HOST=redis
28    volumes:
29      - ./zoo-project/zoo-services/utils/open-api/server/subscriber.py:/shell.py
30    command: ["--port=8888", "/shell.py"]
31  pg:
32    image: postgres:9.6.18-alpine
33    restart: always
34    environment:
35      POSTGRES_USER: zoo
36      POSTGRES_PASSWORD: zoo
37      POSTGRES_DB: zoo
38    volumes:
39      # Load the zoo kernel schema
40      - ./zoo-project/zoo-kernel/sql/schema.sql:/docker-entrypoint-initdb.d/1-schema.sql
41  pgbouncer:
42    image: edoburu/pgbouncer:1.8.1
43    environment:
44      DATABASE_URL: "postgres://zoo:zoo@pg/zoo"
45      MAX_CLIENT_CONN: 1000
46      MAX_DB_CONNECTIONS: 100
47      DEFAULT_POOL_SIZE: 100
48      POOL_MODE: transaction
49    ports:
50      - "5432:5432"
51    depends_on:
52      - pg
53  redis:
54    image: redis:6.0.9
Note: See TracBrowser for help on using the repository browser.

Search

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png