forked from its-a-feature/Mythic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (42 loc) · 1.49 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
version: '2.4'
services:
postgres:
build: ./postgres-docker
container_name: apfell_postgres
network_mode: host
volumes:
- postgres-data-volume:/var/lib/postgresql/data
labels:
NAME: "apfell_postgres"
restart: on-failure
rabbitmq:
build: ./rabbitmq-docker
container_name: apfell_rabbitmq
network_mode: host
volumes:
- rabbitmq-data-volume:/var/lib/rabbitmq
labels:
NAME: "apfell_rabbitmq"
restart: on-failure
#mem_limit: 512M
apfell:
build: ./apfell-docker
network_mode: host
container_name: apfell_apfell
volumes:
- apfell-file-data:/Apfell/app/files
- apfell-payload-data:/Apfell/app/payloads/operations
- apfell-c2-data:/Apfell/app/c2_profiles
labels:
NAME: "apfell_apfell"
depends_on:
- postgres
- rabbitmq
restart: on-failure
command: ["./wait-for-postgres.sh", "127.0.0.1:5432", "--", "python", "/Apfell/server.py"]
volumes:
postgres-data-volume:
apfell-file-data:
apfell-payload-data:
apfell-c2-data:
rabbitmq-data-volume: