forked from AtlasOfLivingAustralia/image-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (37 loc) · 967 Bytes
/
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
services:
elasticsearch:
image: elasticsearch:7.17.21
environment:
- discovery.type=single-node
ports:
- "9200:9200"
- "9300:9300"
volumes:
- data_images_elasticsearch:/usr/share/elasticsearch/data
pgsql:
image: postgres:15.7
environment:
POSTGRES_USER: images
POSTGRES_PASSWORD: images
POSTGRES_HOST_AUTH_METHOD: md5
ports:
- "5432:5432"
volumes:
- db_data_imageservice:/var/lib/postgresql/data
image-service:
image: sbdi/image-service-dev
build:
context: .
ports:
- "8080:8080"
volumes:
- ./sbdi/data/config/image-service-config.yml:/data/image-service/config/image-service-config.yml
volumes:
db_data_imageservice:
# db_data_imageservice-local:
# driver: local
# driver_opts:
# type: none
# o: bind
# device: "/home/mats/Documents/sbdi/image-service/db_data_image-service__231012"
data_images_elasticsearch: