-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
34 lines (31 loc) · 827 Bytes
/
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
services:
city-coordinates-db:
image: mongo:latest
container_name: city-coordinates-db
environment:
- MONGO_INITDB_ROOT_USERNAME=user
- MONGO_INITDB_ROOT_PASSWORD=user
ports:
- "27017:27017"
city-coordinates-tools:
build:
context: ./tools
dockerfile: Dockerfile
image: city-coordinates-tools
container_name: city-coordinates-tools
volumes:
- ./tools/data:/data
depends_on:
- city-coordinates-db
# city-coordinates-api:
# build:
# context: ./api
# dockerfile: Dockerfile
# image: city-coordinates-api
# container_name: city-coordinates-api
# environment:
# - MONGO_URI=mongodb://user:user@geomongo:27017/us?authSource=admin
# ports:
# - "8000:8000"
# depends_on:
# - city-coordinates-db