-
Notifications
You must be signed in to change notification settings - Fork 144
/
docker-compose-arm64.yaml
97 lines (97 loc) · 2.82 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
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
services:
keyv_postgres:
image: postgres:latest
command: postgres -c 'max_connections=200'
environment:
POSTGRES_DB: keyv_test
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
ports:
- 5432:5432/tcp
keyv_postgres_1:
build:
context: packages/postgres
dockerfile: Dockerfile.ssl
command: postgres -c 'max_connections=200' -c 'ssl=on' -c 'ssl_cert_file=/keyv_postgres_ssl/server.crt' -c 'ssl_key_file=/keyv_postgres_ssl/server.key' -c 'hba_file=/keyv_postgres_ssl/pg_hba.conf' -c "listen_addresses=*"
environment:
POSTGRES_DB: keyv_test
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
ports:
- 5433:5432/tcp
keyv_mysql:
image: mysql/mysql-server:latest
command: [ "mysqld",
"--character-set-server=utf8mb4",
"--collation-server=utf8mb4_unicode_ci",
"--bind-address=0.0.0.0",
"--default_authentication_plugin=mysql_native_password" ]
restart: always
ports:
- 3306:3306
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 1
MYSQL_DATABASE: keyv_test
MYSQL_USER: mysql
MYSQL_ROOT_HOST: '%'
keyv_mysql_1:
image: "mysql/mysql-server:latest"
command: [ "mysqld",
"--character-set-server=utf8mb4",
"--collation-server=utf8mb4_unicode_ci",
"--require_secure_transport=ON",
"--bind-address=0.0.0.0",
"--ssl-ca=/etc/certs/ca.pem",
"--ssl-cert=/etc/certs/server-cert.pem",
"--ssl-key=/etc/certs/server-key.pem",
"--default_authentication_plugin=mysql_native_password" ]
ports:
- "3307:3306"
volumes:
- type: bind
source: ./packages/mysql/test/certs
target: /etc/certs/
restart: always
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 1
MYSQL_DATABASE: keyv_test
MYSQL_ROOT_HOST: '%'
keyv_valkey:
image: valkey/valkey:latest
command: redis-server --port 6370
environment:
REDIS_HOST: redis
ports:
- 6370:6370
keyv_redis:
image: redis:latest
environment:
REDIS_HOST: redis
ports:
- 6379:6379
keyv_redis_1:
image: redis:latest
command: redis-server --port 0 --tls-port 6380 --tls-cert-file /tls/redis.crt --tls-key-file /tls/redis.key --tls-ca-cert-file /tls/ca.crt --tls-auth-clients no
environment:
REDIS_HOST: redis
ports:
- 6380:6380
volumes:
- ./packages/redis/tls:/tls
keyv_mongo:
image: mongo:latest
restart: always
ports:
- 27017:27017
keyv_memcached:
image: memcached:latest
ports:
- "11211:11211"
keyv_etcd:
image: bitnami/etcd:latest
platform: linux/arm64/v8
environment:
- ALLOW_NONE_AUTHENTICATION=yes
ports:
- 2379:2379
- 2380:2380