forked from juttle/juttle-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdc-postgres.yml
More file actions
30 lines (26 loc) · 721 Bytes
/
Copy pathdc-postgres.yml
File metadata and controls
30 lines (26 loc) · 721 Bytes
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
postgres_data:
image: juttle/postgres_diskstats_data
postgres:
container_name: examples_postgres_1
image: postgres
ports:
- 5432
juttle-engine_loader:
# this container will load data into postgres via juttle, and exit.
image: juttle/juttle-engine:latest
links:
- postgres
volumes_from:
- postgres_data
volumes:
- ${PWD}/juttle-config.json:/opt/juttle-engine/.juttle-config.json
- ${PWD}/postgres-diskstats/loadfromscratch.sh:/config/loadfromscratch.sh
command: bash /config/loadfromscratch.sh
juttle-engine:
# this juttle-engine container will keep running to serve juttles.
links:
- postgres
external_links:
- examples_postgres_1
volumes_from:
- postgres_data