-
Notifications
You must be signed in to change notification settings - Fork 110
/
docker-compose.yml
48 lines (42 loc) · 1.17 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
36
37
38
39
40
41
42
43
44
45
46
47
48
version: '2'
services:
jekyll:
build:
context: docs
command:
- jekyll serve --watch --incremental --force_polling
volumes:
- ./docs:/srv/jekyll
ports:
- "4000:4000"
web:
image: sosedoff/pgweb
environment:
- DATABASE_URL=postgres://codefordc:codefordc@postgres:5432/housinginsights_docker?sslmode=disable
links:
- postgres
ports:
- "8081:8081"
restart: "on-failure:10"
postgres:
image: codefordc2/housing-insights-postgres
environment:
- POSTGRES_PASSWORD=codefordc
- POSTGRES_USER=codefordc
- POSTGRES_DB=housinginsights_docker
ports:
- "5432:5432"
restart: "on-failure:3"
sandbox:
build:
context: back_end
dockerfile: Dockerfile-development
volumes:
- .:/repo
ports:
- "5000:5000"
# Keeps the container running
command: tail -f /dev/null
environment:
- SET_CONTAINER_TIMEZONE=true
- CONTAINER_TIMEZONE=America/New_York