-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-composer-example.yml
More file actions
76 lines (70 loc) · 1.42 KB
/
docker-composer-example.yml
File metadata and controls
76 lines (70 loc) · 1.42 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
71
72
73
74
75
76
version: "3.1"
services:
mailhog:
image: mailhog/mailhog:latest
restart: always
ports:
- 8003:8025
- 1025:1025
adminmongo:
image: mrvautin/adminmongo
ports:
- 8001:1234
environment:
- HOST=0.0.0.0
depends_on:
- mongo
links:
- mongo
pgadmin:
image: dpage/pgadmin4
restart: always
ports:
- 8000:80
volumes:
- ./.docker/metabase-data:/metabase-data
environment:
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: secret
depends_on:
- postgres
links:
- postgres
postgres:
image: postgres
restart: always
ports:
- 5432:5432
environment:
POSTGRES_DB: develop
POSTGRES_USER: postgres
POSTGRES_PASSWORD: secret
PGDATA: /var/lib/postgresql/data
mongo:
image: mongo
environment:
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=secret
- MONGODB_USER=mongo
- MONGODB_PASS=secret
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/dev/null
ports:
- 27017:27017
redmin:
image: sasanrose/phpredmin
environment:
- PHPREDMIN_DATABASE_REDIS_0_HOST=redis
- PHPREDMIN_AUTH_USERNAME=root
- PHPREDMIN_AUTH_PASSWORD=secret
ports:
- "8002:80"
depends_on:
- redis
links:
- redis
redis:
image: redis
restart: always
ports:
- 6379:6379