-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.production.yml
36 lines (35 loc) · 1.12 KB
/
docker-compose.production.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
version: '2'
services:
postgres:
image: postgres:14
environment:
POSTGRES_PASSWORD: testing
volumes:
- ./state/postgres/data:/var/lib/postgresql/data
opensearch-node1:
image: opensearchproject/opensearch:2.1.0
environment:
- cluster.name=opensearch-cluster
- node.name=opensearch-node1
- bootstrap.memory_lock=true
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
- "DISABLE_INSTALL_DEMO_CONFIG=true"
- "DISABLE_SECURITY_PLUGIN=true"
- "discovery.type=single-node"
volumes:
- ./state/opensearch/data:/usr/share/opensearch/data
server:
image: gitlab.futo.org:5050/polycentric/polycentric
read_only: true
environment:
- "RUST_LOG=server=info"
- "ADMIN_TOKEN=123"
proxy:
image: caddy
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- ./state/caddy/data:/data
- ./state/caddy/config:/config
ports:
- "0.0.0.0:80:80"
- "0.0.0.0:443:443"