-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (30 loc) · 757 Bytes
/
docker-compose.yml
File metadata and controls
49 lines (30 loc) · 757 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
34
35
36
37
38
39
40
41
version: '3'
services:
db:
image: "postgres:9.6-alpine"
container_name: db
restart: always
ports:
- 5432:5432
# volumes:
# - postgres_data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=flamup
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- PGDATA=/var/lib/postgresql/data/pgdata
flamup:
build: ./
# image: "thesyncoder/flamup:0.0.2"
container_name: flamup
environment:
- DB_SERVER:db
- POSTGRES_DB=flamup
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
ports:
- 8443:8443 # Forward the exposed port 8080 on the container to port 8080 on the host machine
depends_on:
- db
volumes:
postgres_data: