-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdocker-compose-arm64.yaml
43 lines (39 loc) · 1.48 KB
/
docker-compose-arm64.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
42
43
version: "3"
services:
postgres:
image: "postgres:15.2@sha256:78a275d4c891f7b3a33d3f1a78eda9f1d744954d9e20122bfdc97cdda25cddaf"
command: "postgres -c max_connections=200 -c log_statement=all -c log_destination=stderr"
environment:
- "POSTGRES_USER=oph"
- "POSTGRES_PASSWORD=oph"
- "TZ=Europe/Helsinki"
ports:
- "5432:5432"
volumes:
- "./postgresql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d"
opensearch:
build: "./opensearch"
environment:
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
- "discovery.type=single-node"
- "plugins.security.disabled=true"
ports:
- "9200:9200"
volumes:
- "./opensearch/opensearch-docker.yml:/usr/share/opensearch/config/opensearch.yml"
dynamodb:
image: "amazon/dynamodb-local:2.5.2@sha256:d7ebddeb60fa418bcda218a6c6a402a58441b2a20d54c9cb1d85fd5194341753"
ports:
- "8000:8000"
localstack:
container_name: koski-localstack
image: localstack/localstack:s3-latest-arm64@sha256:f507334401cd2e074ce57680a9863dd6e2c372aedb2c7829a45db242fda89611
ports:
- "127.0.0.1:4566:4566" # LocalStack Gateway
- "127.0.0.1:4510-4559:4510-4559" # external services port range
environment:
# LocalStack configuration: https://docs.localstack.cloud/references/configuration/
- DEBUG=${DEBUG:-0}
volumes:
- "${LOCALSTACK_VOLUME_DIR:-./localstack-volume}:/var/lib/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"