-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (56 loc) · 1.16 KB
/
Copy pathdocker-compose.yml
File metadata and controls
61 lines (56 loc) · 1.16 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
version: '2.1'
services:
horse:
build: Docker/Horse
environment:
DB_USER: 'postgres'
DB_PASSWORD: 'postgres'
DB_DATABASE: 'kanbana'
DB_PORT: '5432'
DB_HOST: 'postgres'
links:
- postgres
privileged: true
tty: true
ports:
- '9000:9000'
- '64211:64211'
goose:
build: Docker/Goose
environment:
GOOSE_DRIVER: 'postgres'
GOOSE_DATABASE: 'kanbana'
GOOSE_USER: 'postgres'
GOOSE_HOST: 'postgres'
GOOSE_PASSWORD: 'postgres'
GOOSE_PORT: '5432'
volumes:
- ./Src/Migrations:/migrations
links:
- postgres
pgadmin:
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: 'postgres'
PGADMIN_DEFAULT_PASSWORD: 'postgres'
volumes:
- pgadmin-data:/var/lib/pgadmin
ports:
- '5050:80'
links:
- postgres
logging:
driver: 'none'
postgres:
image: postgres:10
environment:
POSTGRES_PASSWORD: 'postgres'
POSTGRES_DB: 'kanbana'
PGDATA: '/data/postgres'
volumes:
- pg-data:/data/postgres
ports:
- '5432:5432'
volumes:
pg-data:
pgadmin-data: