-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (52 loc) · 1.18 KB
/
docker-compose.yml
File metadata and controls
57 lines (52 loc) · 1.18 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
#Remember to remove anonymous volumes regularly with "docker volume prune"
services:
db_dev:
build:
dockerfile: ./mongo.Dockerfile
container_name: altzone_db_dev
networks:
- db
volumes:
- altzone_db_dev:/data/db
- ./mongod.conf:/etc/mongo/mongod.conf
ports:
- 27017:27017
redis:
image: redis:8.2-rc1-alpine
container_name: altzone_redis
ports:
- 6379:6379
environment:
- REDIS_PASSWORD=mySecretPassword
- REDIS_APPENDONLY=yes
- REDIS_MAXMEMORY=256mb
- REDIS_PORT=6379
- REDIS_LOGLEVEL=notice
volumes:
- altzone_redis_dev:/data
networks:
- redis
mosquitto_dev:
image: eclipse-mosquitto:2.0.22
container_name: altzone_mosquitto_dev
ports:
- 1883:1883
- 9001:9001
networks:
- backend
volumes:
- altzone_mosquitto_dev:/mosquitto/data
- ./mosquitto/config:/mosquitto/config
- ./mosquitto/log:/mosquitto/log
networks:
backend:
name: altzone_backend_dev
db:
name: altzone_db_dev
redis:
name: altzone_redis_dev
volumes:
altzone_db_dev:
name: altzone_db_dev
altzone_redis_dev:
altzone_mosquitto_dev: