-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
56 lines (51 loc) · 1.39 KB
/
docker-compose.dev.yml
File metadata and controls
56 lines (51 loc) · 1.39 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
version: '3.7'
services:
postgres:
container_name: opencloud-pg
image: postgres:latest
volumes:
- ./.docker/postgres:/var/lib/postgresql/data
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
POSTGRES_DB: ${POSTGRES_DB:-postgres}
POSTGRES_PORT: ${POSTGRES_PORT:-5432}
ports:
- '${POSTGRES_PORT:-5432}:5432'
restart: always
redis:
container_name: opencloud-redis
image: redis:latest
volumes:
- ./.docker/redis:/data
environment:
REDIS_PASSWORD: ${REDIS_PASSWORD:-redis}
ports:
- '${REDIS_PORT:-6379}:6379'
restart: always
redisinsight:
image: redis/redisinsight:latest
container_name: redisinsight
ports:
- '5540:5540'
restart: always
mondodb:
container_name: opencloud-mongodb
image: mongo:latest
volumes:
- ./.docker/mongodb:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_INITDB_ROOT_USERNAME:-root}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_INITDB_ROOT_PASSWORD:-password}
ports:
- '27017:27017'
restart: always
mailhog:
container_name: opencloud-mailhog
image: mailhog/mailhog:latest
volumes:
- ./.docker/mailhog:/data
ports:
- '${SMTP_PORT:-1025}:1025' # SMTP server port
- '${SMTP_WEB_PORT:-8025}:8025' # Web UI port
restart: always