-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-debug.yml
More file actions
92 lines (86 loc) · 2.14 KB
/
docker-compose-debug.yml
File metadata and controls
92 lines (86 loc) · 2.14 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
volumes:
ckan_storage:
ckan_translations:
pg_data:
solr_data:
networks:
ckan-internal:
name: ckan-local
envidat:
name: envidat
services:
ckan:
container_name: ckan
image: "${INTERNAL_REG}/ckan-container/ckan:2.9-backup"
build:
context: ./ckan-container
args:
- EXTERNAL_REG=${EXTERNAL_REG}
- INTERNAL_REG=${INTERNAL_REG}
- PYTHON_IMG_TAG=${PYTHON_IMG_TAG}
- CKAN_VERSION=${CKAN_VERSION}
- MAINTAINER=${MAINTAINER}
dockerfile: ./Dockerfile
extra_hosts:
mail.wsl.ch: 10.30.1.224
depends_on:
- solr
- redis
environment:
CKAN_INI: "/opt/ckan/ckan.ini"
volumes:
- ckan_storage:/opt/ckan/data
- ./config/ckan.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_proxy
#image: "${INTERNAL_REG}/ckan-container/proxy:${NGINX_IMG_TAG}-main"
build:
context: ./nginx
args:
- EXTERNAL_REG=${EXTERNAL_REG}
- NGINX_IMG_TAG=${NGINX_IMG_TAG}
- MAINTAINER=${MAINTAINER}
dockerfile: ./Dockerfile
depends_on:
- ckan
environment:
- AUTH_COOKIE_NAME=envidat
- CKAN_HOST=ckan:5000
- DOI_HOST=doi_api:8000
- CONVERTERS_HOST=converters_api:8000
- FRONTEND=http://localhost:8990
env_file:
- .env
ports:
- "8989:80"
networks:
- ckan-internal
- envidat
restart: unless-stopped
solr:
container_name: ckan_dev_solr
image: "${INTERNAL_REG}/ckan-container/solr:${SOLR_IMG_TAG}-dev"
networks:
- ckan-internal
restart: unless-stopped
init-solr:
container_name: ckan_dev_init_solr
image: "${INTERNAL_REG}/ckan-container/init-solr:${SOLR_IMG_TAG}-dev"
env_file:
- .solr.env
environment:
SOLR_HOST: http://solr:8983
networks:
- ckan-internal
depends_on:
- solr
redis:
container_name: ckan_redis
image: redis:${REDIS_IMG_TAG}
networks:
- ckan-internal
restart: unless-stopped