-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
46 lines (42 loc) · 877 Bytes
/
docker-compose.yaml
File metadata and controls
46 lines (42 loc) · 877 Bytes
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
---
services:
mailauth:
image: ghcr.io/codeshelldev/mailauth:latest
container_name: mailauth
ports:
- "80:80"
env_file:
- .env
restart: unless-stopped
networks:
mailauth:
aliases:
- mailauth
mongodb:
image: mongo:latest # Use arm64v8/mongo for ARM Architecture
container_name: mailauth-db
volumes:
- db:/data/db
- ./init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js
env_file:
- .env
networks:
mailauth:
aliases:
- mongo
restart: unless-stopped
redis:
image: redis:latest
container_name: mailauth-redis
command: ["redis-server", "--requirepass", "${REDIS_PASSWORD}"]
env_file:
- .env
networks:
mailauth:
aliases:
- redis
restart: unless-stopped
networks:
mailauth:
volumes:
db: