-
Notifications
You must be signed in to change notification settings - Fork 19
/
docker-compose.yml
54 lines (51 loc) · 1.3 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
version: "3.6"
services:
database:
image: mdillon/postgis:10
volumes:
- database-data:/var/lib/postgresql/data
environment:
POSTGRES_USER: "user"
POSTGRES_PASSWORD: "pw"
POSTGRES_DB: "dbms"
autotest:
image: eoxserver:autotest
build: .
env_file:
- ./sample.env
volumes:
- type: bind
source: ./eoxserver
target: /usr/local/lib/python2.7/dist-packages/eoxserver/
- type: bind
source: ./eoxserver
target: /usr/local/lib/python3.10/dist-packages/eoxserver/
- type: bind
source: ./eoxserver
target: /opt/eoxserver/eoxserver/
- type: bind
source: ./autotest
target: /opt/instance
- type: bind
source: ./schemas
target: /opt/schemas
working_dir: /opt/instance
command:
["gunicorn", "--reload", "--bind=0.0.0.0:8000", "--chdir=/opt/instance", "autotest.wsgi:application", "--workers=3"]
ports:
- "8800:8000"
object-storage:
image: minio/minio
environment:
MINIO_ACCESS_KEY: AKIAIOSFODNN7EXAMPLE
MINIO_SECRET_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
volumes:
- type: bind
source: ./
target: /data
ports:
- "9000:9000"
command:
['server', '/data']
volumes:
database-data: