-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (44 loc) · 952 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (44 loc) · 952 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
42
43
44
45
46
47
version: '2'
services:
keops:
build:
context: .
dockerfile: Dockerfile
image: keops:latest
container_name: keops
restart: always
environment:
- KEOPS_DB_NAME=keopsdb
- KEOPS_DB_HOST=keopsdb
- KEOPS_DB_USER=keopsdb
- KEOPS_DB_PASS=PASSWORD_FOR_USER_KEOPS
- KEOPS_DB_PORT=5432
- POSTGRESPASSWORD=PASSWORD_FOR_POSTGRES
- KEOPS_HELPER_HOST=
- KEOPS_HELPER_PORT=
- KEOPS_HELPER_EMAIL=
- KEOPS_HELPER_PASSWORD=
ports:
- "8080:80"
depends_on:
- keopsdb
networks:
- keops
volumes:
- ./:/opt/keops
keopsdb:
build:
context: .
dockerfile: Dockerfile-db
image: keopsdb:latest
container_name: keopsdb
networks:
- keops
ports:
- 5432:5432
environment:
- POSTGRESPASSWORD=PASSWORD_FOR_POSTGRES
volumes:
- ./postgres:/var/lib/postgresql/data
networks:
keops: