-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
71 lines (64 loc) · 1.5 KB
/
docker-compose.yml
File metadata and controls
71 lines (64 loc) · 1.5 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
62
63
64
65
66
67
68
69
70
version: '3.4'
name: niceblogger-orchestrator
services:
niceblogger.database:
image: postgres:latest
container_name: niceblogger-database
environment:
- POSTGRES_DB=posts
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- ./.containers/posts-db:/var/lib/postgresql/data
ports:
- 5432:5432
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin4
restart: always
ports:
- "8888:80"
environment:
- PGADMIN_DEFAULT_EMAIL=a@b.com
- PGADMIN_DEFAULT_PASSWORD=passwd
volumes:
- ./.containers/db-admin:/var/lib/pgadmin
depends_on:
- niceblogger.database
niceblogger.cache:
image: redis:latest
container_name: niceblogger-cache
restart: always
ports:
- '6379:6379'
redisinsights:
image: redis/redisinsight:latest
container_name: redisinsights
restart: always
ports:
- 5540:5540
volumes:
- ./.containers/cache-admin:/var/lib/ridb
depends_on:
- niceblogger.cache
niceblogger.api:
image: ${DOCKER_REGISTRY-}nicebloggerapi
container_name: niceblogger-api
build:
context: .
dockerfile: src/NiceBlogger.Api/Dockerfile
ports:
- 5000:5000
- 5001:5001
restart: on-failure
depends_on:
- niceblogger.database
- niceblogger.cache
niceblogger.seq:
image: datalust/seq:latest
container_name: niceblogger-seq
environment:
- ACCEPT_EULA=Y
ports:
- 5341:5341
- 8081:80