-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
35 lines (32 loc) · 1.09 KB
/
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
gridmaps:
image: "selcolumbia/osm-gridmaps:0.2"
links:
- "db:db"
volumes:
# note that application.yml is placed in tmp because it will be modified
# by server/init.sh before being copied into osm config dir.
# database.yml and nginx.conf are mounted directly because they're not
# modified in container.
- ./application.yml:/tmp/application.yml
- ./database.yml:/home/app/openstreetmap-website/config/database.yml
- ./gridmaps-nginx.conf:/etc/nginx/sites-enabled/gridmaps-nginx.conf
gridmaps-cgimap:
image: "selcolumbia/osm-gridmaps-cgimap:0.4"
links:
- "db:db"
volumes:
- ./application.yml:/tmp/application.yml
- ./database.yml:/home/app/openstreetmap-website/config/database.yml
- ./gridmaps-nginx-cgimap.conf:/etc/nginx/sites-enabled/gridmaps-nginx-cgimap.conf
ports:
- "80:80"
db:
image: "selcolumbia/osm-db:0.1"
dev:
image: "selcolumbia/osm-gridmaps-dev"
volumes:
- ~/src/openstreetmap-website/:/src/openstreetmap-website
links:
- "db:db"
ports:
- "3000:3000"