-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.load-db.yml
36 lines (34 loc) · 1.14 KB
/
docker-compose.load-db.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
version: "3.8"
services:
load-db-entity:
image: 955696714113.dkr.ecr.eu-west-2.amazonaws.com/digital-land-postgres
depends_on:
- db
- web
# volumes:
# # Uncomment if developing against digital-land-postgres
# - ../digital-land-postgres/task:/src
# # Uncomment to use entity.sqlite generated locally
# - ../entity-builder/dataset/entity.sqlite3:/src/entity.sqlite3
environment:
S3_KEY: entity-builder/dataset/entity.sqlite3
DB_NAME: digital_land
DB_USER_NAME: postgres
DB_PASSWORD: postgres
DB_WRITE_ENDPOINT: db
S3_BUCKET: digital-land-production-collection-dataset
load-db-dataset:
image: 955696714113.dkr.ecr.eu-west-2.amazonaws.com/digital-land-postgres
depends_on:
- db
- web
# volumes:
# # Uncomment if developing against digital-land-postgres
# - ../digital-land-postgres/task:/src
environment:
S3_KEY: digital-land-builder/dataset/digital-land.sqlite3
DB_NAME: digital_land
DB_USER_NAME: postgres
DB_PASSWORD: postgres
DB_WRITE_ENDPOINT: db
S3_BUCKET: digital-land-production-collection-dataset