source: branches/branch-1.8/docker-compose.yml @ 972

Last change on this file since 972 was 968, checked in by djay, 4 years ago

Add websocketd container to docker-compose and make the OGC API - Processes and it basic UI available.

File size: 1.6 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    depends_on:
17      - pgbouncer
18    environment:
19      - ZOO_REDIS_HOST=redis
20  websocketd:
21    build: ./docker/websocketd
22    ports:
23      - 8888:8888
24    environment:
25      - ZOO_REDIS_HOST=redis
26    volumes:
27      - ./zoo-project/zoo-services/utils/open-api/server/subscriber.py:/shell.py
28    command: ["--port=8888", "/shell.py"]
29  pg:
30    image: postgres:9.6.18-alpine
31    restart: always
32    environment:
33      POSTGRES_USER: zoo
34      POSTGRES_PASSWORD: zoo
35      POSTGRES_DB: zoo
36    volumes:
37      # Load the zoo kernel schema
38      - ./zoo-project/zoo-kernel/sql/schema.sql:/docker-entrypoint-initdb.d/1-schema.sql
39  pgbouncer:
40    image: edoburu/pgbouncer:1.8.1
41    environment:
42      DATABASE_URL: "postgres://zoo:zoo@pg/zoo"
43      MAX_CLIENT_CONN: 1000
44      MAX_DB_CONNECTIONS: 100
45      DEFAULT_POOL_SIZE: 100
46      POOL_MODE: transaction
47    ports:
48      - "5432:5432"
49    depends_on:
50      - pg
51  redis:
52    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