Repository navigation
Expand file tree
/
Copy pathdocker-compose.local-dev.yml
More file actions
59 lines (58 loc) · 1.95 KB
/
Copy pathdocker-compose.local-dev.yml
File metadata and controls
59 lines (58 loc) · 1.95 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
services:
openldap-search:
image: ghcr.io/heyitsbatman/openldap-search-server:main
mongo:
image: docker.io/mvertes/alpine-mongo:latest
environment:
- MONGO_INITDB_ROOT_USERNAME=admin
- MONGO_INITDB_ROOT_PASSWORD=password
redis:
image: docker.dragonflydb.io/dragonflydb/dragonfly:latest
ulimits:
memlock: -1
command: --maxmemory=1gb --proactor_threads=1
kompressor:
image: ghcr.io/kompakkt/kompressor:latest
volumes:
- uploads:/app/uploads
mailhog:
image: mailhog/mailhog:latest
ports:
- '127.0.0.1:8025:8025'
sonic:
build:
dockerfile_inline: |
FROM docker.io/archivebox/sonic:latest
RUN apt-get update && apt-get install -y wget
RUN wget 'https://raw.githubusercontent.com/Kompakkt/Mono/refs/heads/main/sonic-config.cfg' -O sonic-config.cfg
RUN cp ./sonic-config.cfg /etc/sonic.cfg
CMD ["/usr/local/bin/sonic", "-c", "/etc/sonic.cfg"]
server:
build:
context: .
dockerfile: .production-dockerfile
depends_on:
- openldap-search
- mongo
- redis
- kompressor
- mailhog
- sonic
ports:
- '127.0.0.1:3030:3030'
volumes:
- uploads:/app/uploads
environment:
- CONFIGURATION_MONGO_HOSTNAME=mongo
- CONFIGURATION_MONGO_PORT=27017
- CONFIGURATION_REDIS_HOSTNAME=redis
- CONFIGURATION_REDIS_PORT=6379
- CONFIGURATION_MAILER_HOST=mailhog
- CONFIGURATION_MAILER_PORT=1025
- CONFIGURATION_EXTENSION_WIKIBASE_SPARQL_ENDPOINT=http://query.wb.local/proxy/wdqs/bigdata/namespace/wdq/sparql
# Wikibase REST API + OAuth. Fill these in for the local dev Wikibase (assumed at http://wb.local):
# - CONFIGURATION_EXTENSION_WIKIBASE_DOMAIN=http://wb.local
# - CONFIGURATION_EXTENSION_WIKIBASE_REST_API_URL=http://wb.local/w/rest_v1
# - CONFIGURATION_EXTENSION_WIKIBASE_OAUTH_TOKEN=<registered OAuth 2.0 consumer token>
volumes:
uploads: