forked from ThoughtWorksInc/AS101-4-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (26 loc) · 771 Bytes
/
docker-compose.yml
File metadata and controls
27 lines (26 loc) · 771 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
version: '3'
services:
web:
build: ./web
ports:
- "8000:8000"
links:
- postgres:postgres
env_file: .env
depends_on:
- postgres
command: /usr/src/app/start-app.sh
postgres:
image: postgres:12.2
ports:
- "5432:5432"
environment:
TZ: "Australia/Melbourne"
# these are our database credentials.
# for the purposes of this workshop, this is not relevant and shouldn't be changed.
# it is just here as we are staging the database via docker.
# in a prod environment this would be done differently (or not in Docker at all).
# 🌌 these aren't the droids you are looking for 🌌
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres