-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
58 lines (52 loc) · 1.19 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
version: "3"
services:
ckan:
image: ghcr.io/gsa/catalog.data.gov:latest
build:
context: ckan/
command: /app/ckan/setup/ckan_setup.sh
env_file: .env
depends_on:
- db
- solr
- redis
ports:
- "0.0.0.0:${PORT}:${PORT}"
volumes:
- ./src:/srv/app/src_extensions
- ckan_storage:/var/lib/ckan
- ./ckan/setup/prerun.py:/srv/app/prerun.py
- ./ckan/setup/ckan_setup.sh:/srv/app/ckan_setup.sh
- ./ckan/docker-entrypoint.d/:/docker-entrypoint.d/
- .:/app
db:
env_file:
- .env
image: ghcr.io/gsa/catalog.data.gov.db:latest
build:
context: postgresql/
volumes:
- pg_data:/var/lib/postgresql/data
solr:
image: ghcr.io/gsa/catalog.data.gov.solr:8-stunnel-root
build:
context: solr/
command: /app/solr/local_setup.sh
ports:
- "8983:8983"
deploy:
replicas: 1
volumes:
- solr_data:/var/solr
- .:/app
redis:
image: redis:alpine
nginx-harvest-source:
image: nginx
volumes:
- ./tests/harvest-sources:/usr/share/nginx/html
- ./tests/nginx.conf:/etc/nginx/conf.d/default.conf
volumes:
ckan_storage:
pg_data:
solr_data: