-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
48 lines (42 loc) · 904 Bytes
/
docker-compose.yaml
File metadata and controls
48 lines (42 loc) · 904 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
47
48
version: "3.8"
name: innonymous
x-env: &env
env_file:
- ./.env
x-common: &common
restart: always
logging:
options:
max-size: "10m"
max-file: "5"
services:
api:
image: ghcr.io/innonymous/backend
environment:
- INNONYMOUS_DATABASE_URL=mongodb://innonymous:innonymous@mongodb
- INNONYMOUS_BROKER_URL=amqp://innonymous:innonymous@rabbitmq
ports:
- "8000:8000"
<<: *common
<<: *env
rabbitmq:
image: rabbitmq:management
environment:
- RABBITMQ_DEFAULT_USER=innonymous
- RABBITMQ_DEFAULT_PASS=innonymous
ports:
- "5672:5672"
- "15672:15672"
<<: *common
mongodb:
image: mongo:6
environment:
MONGO_INITDB_ROOT_USERNAME: innonymous
MONGO_INITDB_ROOT_PASSWORD: innonymous
volumes:
- mongodb:/data/db
ports:
- "27017:27017"
<<: *common
volumes:
mongodb: