-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.staging.yml
72 lines (65 loc) · 1.55 KB
/
docker-compose.staging.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
volumes:
ckan_storage:
ckan_translations:
solr_data:
networks:
ckan-microservices:
name: envidat
ckan-internal:
name: ckan-2.9
services:
ckan:
container_name: ckan_2.9
image: "${INTERNAL_REG}/ckan-container/ckan:2.9-backup"
depends_on:
- solr
- redis
environment:
CKAN_INI: "/opt/ckan/ckan.ini"
volumes:
- ckan_storage:/opt/ckan/data
- $HOME/config/ckan/staging.ini:/opt/ckan/ckan.ini
- ckan_translations:/usr/lib/ckan/.local/lib/python3.10/site-packages/ckan/public/base/i18n
networks:
- ckan-internal
restart: unless-stopped
proxy:
container_name: ckan_2.9_proxy
image: "${INTERNAL_REG}/ckan-container/proxy:${NGINX_IMG_TAG}-main"
depends_on:
- ckan
environment:
- CKAN_HOST=ckan:5000
- AUTH_COOKIE_NAME=envidat
ports:
- "8080:80"
networks:
- ckan-internal
restart: unless-stopped
solr:
container_name: ckan_2.9_solr
image: "${INTERNAL_REG}/ckan-container/solr:8.11-v2.9"
volumes:
- solr_data:/var/solr/data
networks:
- ckan-internal
ports:
- "8090:8983"
restart: unless-stopped
init-solr:
container_name: ckan_2.9_init_solr
image: "${INTERNAL_REG}/ckan-container/init-solr:8.11-v2.9"
env_file:
- .solr.env
environment:
SOLR_HOST: http://solr:8983
networks:
- ckan-internal
depends_on:
- solr
redis:
container_name: ckan_2.9_redis
image: redis:${REDIS_IMG_TAG}
networks:
- ckan-internal
restart: unless-stopped