forked from datopian/ckanext-authz-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (34 loc) · 1.02 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Docker Compose file for ckanext-authz-service
# ------------------------------------------------
# The purpose of this docker-compose file is to simplify setting up a
# development environment for this CKAN extension; It defines Docker based
# services for all external CKAN dependencies (DB, Solr, Redis) but not for
# CKAN itself - you should probably run CKAN in a local virtual environment
# to simplify debugging.
#
# Most likely, you do not want to use this file directly with `docker-compose`
# but use the provided Make targets to manage things.
version: "3"
volumes:
db_data:
services:
db:
image: postgres:9-alpine
ports:
- "5432:5432"
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
volumes:
- db_data:/var/lib/postgresql/data
solr:
image: ckan/solr
environment:
- CKAN_SOLR_PASSWORD=${CKAN_SOLR_PASSWORD}
ports:
- 8983:8983
redis:
image: redis:latest
ports:
- 6379:6379