-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
73 lines (66 loc) · 2.05 KB
/
Copy pathdocker-compose.yml
File metadata and controls
73 lines (66 loc) · 2.05 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
72
73
name: docker-tests-flux
services:
# See https://caddyserver.com/docs/quick-starts/reverse-proxy for more information on using Caddy as a reverse proxy
# and load balancer.
# This is commented out by default to avoid intermittent issues on Jenkins. You can uncomment it to test locally.
# caddy-load-balancer:
# image: caddy:2-alpine
# volumes:
# - ./test-app/caddy/config/Caddyfile:/etc/caddy/Caddyfile
# ports:
# # Expand this range as needed. See Caddyfile for which ports are used for reverse proxies.
# - 8006:8006
# - 8007:8007
marklogic:
image: "${MARKLOGIC_IMAGE}"
platform: linux/amd64
# The NET_RAW capability allows a process to create raw sockets. Polaris does not like that.
# This setting removes the NET_RAW capability from the container.
cap_drop:
- NET_RAW
environment:
- MARKLOGIC_INIT=true
- MARKLOGIC_ADMIN_USERNAME=admin
- MARKLOGIC_ADMIN_PASSWORD=admin
volumes:
- ${MARKLOGIC_LOGS_VOLUME}:/var/opt/MarkLogic/Logs
ports:
- 8000-8005:8000-8005
postgres:
image: postgres:15-alpine
cap_drop:
- NET_RAW
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- postgresql:/var/lib/postgresql
- postgresql_data:/var/lib/postgresql/data
# Simplifies restoring the dvdrental.tar into Postgres.
- ./docker/postgres:/opt
ports:
- "5432:5432"
# Postgres DVD rental example - https://www.postgresqltutorial.com/postgresql-getting-started/postgresql-sample-database/
pgadmin:
image: dpage/pgadmin4:latest
cap_drop:
- NET_RAW
environment:
PGADMIN_DEFAULT_EMAIL: postgres@pgadmin.com
PGADMIN_DEFAULT_PASSWORD: postgres
PGADMIN_LISTEN_PORT: 80
ports:
- 5480:80
depends_on:
- postgres
# Using Ollama for testing an embedding model.
# See https://github.com/ollama/ollama for more information.
ollama:
image: "ollama/ollama"
cap_drop:
- NET_RAW
ports:
- 8008:11434
volumes:
postgresql:
postgresql_data: