-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
71 lines (63 loc) · 1.65 KB
/
Copy pathdocker-compose.yml
File metadata and controls
71 lines (63 loc) · 1.65 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: "3.8"
services:
# genymotion:
# build:
# context: ./docker-genymotion
# dockerfile: Dockerfile
# container_name: genymotion
# image: matthewhartstonge/genymotion
# environment:
# DISPLAY: unix$DISPLAY
# privileged: true
# # network_mode: host
# volumes:
# - "/tmp/.X11-unix:/tmp/.X11-unix"
# - "./GenyMotion/persistent_data/genymotion:/root/"
# networks:
# - ollama-docker
# - droid-bot:
# build:
# context: ./DroidBot-GPT
# dockerfile: Dockerfile
# container_name: droid-bot
# volumes:
# - ./DroidBot-GPT:/app/.droid-bot
# container_name: droid-bot
# pull_policy: always
# tty: true
# restart: unless-stopped
# depends_on:
# - ollama
# - mobsf
# - genymotion
mobsf:
image: opensecurity/mobile-security-framework-mobsf:latest
container_name: mobsf_container
ports:
- "8000:8000"
tty: true # Equivalent to -it (interactive terminal)
restart: unless-stopped # Automatically restart the container if it stops
networks:
- ollama-docker
ollama:
# build:
# context: .
# dockerfile: Dockerfile.cpu
image: ollama/ollama:latest
container_name: ollama
ports:
- "7869:11434"
volumes:
- ./ollama:/root/.ollama
container_name: ollama
tty: true
restart: unless-stopped
entrypoint: ["/bin/bash", "-c", "/bin/ollama serve & sleep 5 ; /bin/ollama run llama3.1:8b"]
# environment:
# - OLLAMA_KEEP_ALIVE=24h
# - OLLAMA_HOST=0.0.0.0
networks:
- ollama-docker
networks:
ollama-docker:
external: false