-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
Copy pathdocker-compose.yaml
41 lines (37 loc) · 1.03 KB
/
docker-compose.yaml
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
# Docker Compose configuration for the morphic-stack development environment
name: morphic-stack
services:
morphic:
image: ghcr.io/${GITHUB_REPOSITORY:-your-username/morphic}:latest
command: bun start -H 0.0.0.0
build:
context: .
dockerfile: Dockerfile
cache_from:
- morphic:builder
- morphic:latest
env_file: .env.local # Load environment variables
ports:
- '3000:3000' # Maps port 3000 on the host to port 3000 in the container.
depends_on:
- redis
- searxng
redis:
image: redis:alpine
ports:
- '6379:6379'
volumes:
- redis_data:/data
command: redis-server --appendonly yes
searxng:
image: searxng/searxng
ports:
- '${SEARXNG_PORT:-8080}:8080'
env_file: .env.local # can remove if you want to use env variables or in settings.yml
volumes:
- ./searxng-limiter.toml:/etc/searxng/limiter.toml
- ./searxng-settings.yml:/etc/searxng/settings.yml
- searxng_data:/data
volumes:
redis_data:
searxng_data: