forked from salsadigitalauorg/ckan-ex-qgov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
100 lines (88 loc) · 2.29 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
version: '2.3'
x-project:
&project ckanext-qgov
x-volumes:
&default-volumes
volumes:
- /app/ckan ### Local overrides to mount host filesystem. Automatically removed in CI and PROD.
- ./ckanext:/app/ckanext:${VOLUME_FLAGS:-delegated} ### Local overrides to mount host filesystem. Automatically removed in CI and PROD.
- ./test:/app/test:${VOLUME_FLAGS:-delegated} ### Local overrides to mount host filesystem. Automatically removed in CI and PROD.
##- /app/filestore # Override for environment without host mounts. Automatically uncommented in CI.
x-environment:
&default-environment
AMAZEEIO: AMAZEEIO
no_proxy: "ckan,postgres,postgres-datastore,redis,solr,chrome,mailhog.docker.amazee.io"
x-user:
&default-user
# The default user under which the containers should run.
# Change this if you are on linux and run with another user than id `1000`.
user: '1000'
services:
ckan:
build:
context: .
dockerfile: .docker/Dockerfile.ckan
args:
SITE_URL: http://ckanext-qgov.docker.amazee.io
depends_on:
- postgres
- solr
networks:
- amazeeio-network
- default
ports:
- "3000"
image: *project
<<: *default-volumes
environment:
<<: *default-environment
AMAZEEIO_HTTP_PORT: 3000
LAGOON_LOCALDEV_URL: http://ckanext-qgov.docker.amazee.io
AMAZEEIO_URL: ckanext-qgov.docker.amazee.io
postgres:
image: amazeeio/postgres-ckan
ports:
- "5432"
networks:
- amazeeio-network
- default
<<: *default-user
environment:
<<: *default-environment
redis:
image: amazeeio/redis
<<: *default-user
environment:
<<: *default-environment
networks:
- amazeeio-network
- default
solr:
build:
context: .
dockerfile: .docker/Dockerfile.solr
user: '8983'
ports:
- "8983"
environment:
<<: *default-environment
networks:
- amazeeio-network
- default
chrome:
image: selenium/standalone-chrome:3.141.59-oxygen
shm_size: '1gb'
depends_on:
- ckan
<<: *default-volumes
<<: *default-user
environment:
<<: *default-environment
networks:
- amazeeio-network
- default
volumes:
solr-data: {}
networks:
amazeeio-network:
external: true