source: trunk/docker-compose.yml @ 965

Last change on this file since 965 was 959, checked in by djay, 4 years ago

Add Dockerfile created on #177 providing docker-compose environmeent solving issue reported on #175.

File size: 880 bytes
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    depends_on:
12      - pgbouncer
13  pg:
14    image: postgres:9.6.18-alpine
15    restart: always
16    environment:
17      POSTGRES_USER: zoo
18      POSTGRES_PASSWORD: zoo
19      POSTGRES_DB: zoo
20    volumes:
21      # Load the zoo kernel schema
22      - ./zoo-project/zoo-kernel/sql/schema.sql:/docker-entrypoint-initdb.d/1-schema.sql
23  pgbouncer:
24    image: edoburu/pgbouncer:1.8.1
25    environment:
26      DATABASE_URL: "postgres://zoo:zoo@pg/zoo"
27      MAX_CLIENT_CONN: 1000
28      MAX_DB_CONNECTIONS: 100
29      DEFAULT_POOL_SIZE: 100
30      POOL_MODE: transaction
31    ports:
32      - "5432:5432"
33    depends_on:
34      - pg
35
Note: See TracBrowser for help on using the repository browser.

Search

Context Navigation

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