generated from JoseVteRS/nestjs-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
62 lines (58 loc) · 1.62 KB
/
docker-compose.yml
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
version: '3.7'
services:
mongodb:
container_name: mongodb_dev
image: docker.io/bitnami/mongodb:latest
restart: always
environment:
MONGODB_ADVERTISED_HOSTNAME: localhost
MONGODB_REPLICA_SET_MODE: primary
MONGODB_ROOT_PASSWORD: admin
MONGODB_REPLICA_SET_KEY: replicasetkey123
MONGODB_REPLICA_SET_NAME: shoppinglist
ports:
- 27017:27017
volumes:
- mongodb_data:/bitnami/mongodb
mongoexpress:
container_name: mongoexpress_dev
image: mongo-express:0.54.0
restart: always
environment:
ME_CONFIG_BASICAUTH_USERNAME: root
ME_CONFIG_BASICAUTH_PASSWORD: admin
ME_CONFIG_MONGODB_SERVER: mongodb_dev
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: admin
ports:
- 8081:8081
depends_on:
- mongodb
# postgresql:
# container_name: postgresql_dev
# image: postgres:alpine
# restart: always
# environment:
# POSTGRES_USER: ${POSTGRESQL_USER:-root}
# POSTGRES_PASSWORD: ${POSTGRESQL_PASSWORD:-admin}
# ports:
# - ${POSTGRESQL_PORT:-5432}:5432
# volumes:
# - postgresql_data:/var/lib/postgresql/data
# pgadmin:
# container_name: pgadmin4_dev
# image: dpage/pgadmin4:latest
# restart: always
# environment:
# PGADMIN_DEFAULT_EMAIL: [email protected]
# PGADMIN_DEFAULT_PASSWORD: root
# ports:
# - "8082:80"
# depends_on:
# - postgresql
# volumes:
# - pgadmin_data:/var/lib/pgadmin
volumes:
# postgresql_data:
mongodb_data:
# pgadmin_data: