-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
68 lines (63 loc) · 1.33 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
63
64
65
66
67
68
services:
redis:
image: docker.io/bitnami/redis:7.4
container_name: redis
restart: always
environment:
# ALLOW_EMPTY_PASSWORD is recommended only for development.
# REDIS_DISABLE_COMMANDS: FLUSHDB,FLUSHALL
ALLOW_EMPTY_PASSWORD: yes
ports:
- 9501:6379
volumes:
- redis_data:/bitnami/redis/data
networks:
- pluto
mongo:
image: docker.io/bitnami/mongodb:8.0
container_name: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: pluto
MONGO_INITDB_ROOT_PASSWORD: pluto
MONGO_INITDB_DATABASE: pluto
ports:
- 9502:27017
volumes:
- mongo_data:/bitnami/mongodb
networks:
- pluto
etcd:
image: docker.io/bitnami/etcd:3.5
container_name: etcd
restart: always
environment:
ALLOW_NONE_AUTHENTICATION: yes
ETCD_ADVERTISE_CLIENT_URLS: http://etcd:2379
ports:
- 9503:2379
- 9504:2380
volumes:
- etcd_data:/bitnami/etcd
networks:
- pluto
pluto:
build:
context: .
dockerfile: './Dockerfile'
container_name: "pluto"
depends_on:
- redis
- mongo
- etcd
command: tail -f /dev/null
restart: always
networks:
- pluto
volumes:
redis_data: {}
mongo_data: {}
etcd_data: {}
networks:
pluto:
driver: bridge