forked from HumanCellAtlas/data-store
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (33 loc) · 820 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
33 lines (33 loc) · 820 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
30
31
32
33
#
# How to use docker-compose:
#
# docker-compose build - creates an hca_dss docker image
#
# docker-compose up dss - starts hca_dss container, running dss-api, attached to terminal
#
# then in another terminal tab, you can interact with the API
#
# curl http://localhost:5000/v1/files
#
# or
# docker-compose run dss bash - starts hca_dss container, running bash
#
# When you are done, cleanup with:
#
# docker-compose down
#
# Notes:
#
# - Your ~/.aws folder is mounted in the container in case you wish to use your AWS credentials.
#
# - This folder (.) is mounted over the packaged code, so changes you make can be picked up without re-building.
#
version: '3'
services:
dss:
build: .
volumes:
- ~/.aws:/root/.aws
- .:/code/data-store
ports:
- 5000:5000