-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
78 lines (71 loc) · 1.78 KB
/
docker-compose.dev.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
74
75
76
77
78
volumes:
ckan_dev_storage:
ckan_dev_translations:
networks:
ckan-microservices:
name: envidat
ckan-internal:
name: ckan-dev
services:
ckan:
container_name: ckan_dev
image: "${INTERNAL_REG}/ckan-container/ckan:${CKAN_VERSION}-dev"
depends_on:
- db
- solr
- redis
environment:
CKAN_INI: "/opt/ckan/ckan.ini"
volumes:
- ckan_dev_storage:/opt/ckan/data
- $HOME/config/ckan/dev.ini:/opt/ckan/ckan.ini
- ckan_dev_translations:/usr/lib/ckan/.local/lib/python3.10/site-packages/ckan/public/base/i18n
networks:
- ckan-internal
restart: unless-stopped
proxy:
container_name: ckan_dev_proxy
image: "${INTERNAL_REG}/ckan-container/proxy:${NGINX_IMG_TAG}-main"
depends_on:
- ckan
environment:
- CKAN_HOST=ckan:5000
- AUTH_COOKIE_NAME=envidat-dev
ports:
- "8081:80"
networks:
- ckan-internal
restart: unless-stopped
db:
container_name: ckan_dev_db
image: "${INTERNAL_REG}/ckan-container/db:${POSTGRES_IMG_TAG}-dev"
env_file:
- .db.env
networks:
- ckan-internal
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"]
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_dev_redis
image: redis:${REDIS_IMG_TAG}
networks:
- ckan-internal
restart: unless-stopped