-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
73 lines (68 loc) · 1.64 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
services:
ckan:
image: datagov/inventory-app:2.10.5
build: .
command: /app/start.sh
depends_on:
- datastore
- db
- solr
- redis
- localstack-container
ports:
- "5000:5000"
env_file: .env
volumes:
- .:/app/
# To test datagov_inventory changes in realtime, the following mount can be used
#- ./ckanext-datagov_inventory:/usr/lib/ckan/src/ckanext-datagov_inventory
- ./src:/srv/app/src_extensions
- ./temp:/temp
datastore:
image: postgres:9.6
environment:
POSTGRES_USER: datastore
POSTGRES_PASSWORD: pass
POSTGRES_DB: datastore
volumes:
- ./datastore/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
db:
image: datagov/catalog-db:inventory2_8
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: pass
DB_CKAN_USER: ckan
DB_CKAN_PASSWORD: pass
DB_CKAN_DB: ckan
solr:
image: ghcr.io/gsa/catalog.data.gov.solr:8-stunnel-root
command: /app/solr/local_setup.sh
ports:
- "8983:8983"
deploy:
replicas: 1
volumes:
- solr_data:/var/solr
- .:/app
redis:
image: redis:alpine
localstack-container:
container_name: "localstack-container"
privileged: true
image: localstack/localstack:1.3.1
ports:
- "4566:4566"
- "8081:8081"
environment:
- SERVICES=s3
- DEBUG=1
- DATA_DIR=/tmp/localstack/data
- HOSTNAME=
- DOCKER_HOST=unix:///var/run/docker.sock
- DEFAULT_REGION=us-east-1
- START_WEB=1
volumes:
- "./tmp/localstack:/var/lib/localstack"
volumes:
ckan:
solr_data: