-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.dev.yml
87 lines (78 loc) · 2.32 KB
/
docker-compose.dev.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
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
version: "3"
services:
analytics-postgis:
image: ghcr.io/aasaam/geonames-postgis:latest
container_name: analytics-postgis
hostname: analytics-postgis
ports:
- 5432:5432
environment:
- POSTGRES_PASSWORD=geonames
- POSTGRES_USER=geonames
- POSTGRES_DB=geonames
analytics-redis:
image: redis:7-alpine
container_name: analytics-redis
hostname: analytics-redis
ports:
- 6379:6379
analytics-adminer:
image: adminer
container_name: analytics-adminer
hostname: analytics-adminer
depends_on:
- analytics-postgis
ports:
- 18080:8080
analytics-nginx:
image: ghcr.io/aasaam/nginx-extra:latest
container_name: analytics-nginx
hostname: analytics-nginx
network_mode: host
# ports:
# - 80:80
# - 443:443
environment:
ASM_NGX_EXTRA_UPSTREAM: ${ASM_NGX_EXTRA_UPSTREAM:-http://127.0.0.1:4000}
tmpfs:
- /cache-fast:rw,nodev,nosuid,noexec,noatime,size=${ASM_NGX_EXTRA_PROXY_CACHE_FAST_SIZE:-192}m
volumes:
- ./nginx/nginx.conf:/template/nginx.conf:ro
- ./nginx/cert:/cert:ro
analytics-redis-commander:
container_name: analytics-redis-commander
hostname: analytics-redis-commander
image: rediscommander/redis-commander:latest
depends_on:
- analytics-redis
environment:
- REDIS_HOSTS=local:analytics-redis:6379
ports:
- "8081:8081"
analytics-clickhouse:
image: clickhouse/clickhouse-server:22.3
restart: always
container_name: analytics-clickhouse
hostname: analytics-clickhouse
environment:
- ASM_CH_HTTPS_PORT=${ASM_CH_HTTPS_PORT:-8443}
- ASM_CH_TCP_PORT_SECURE=${ASM_CH_TCP_PORT_SECURE:-9440}
- ASM_CH_PASSWORD=${ASM_CH_PASSWORD:-password123123}
- ASM_CH_LOGGER_LEVEL=${ASM_CH_LOGGER_LEVEL:-debug}
ulimits:
nofile:
soft: 262144
hard: 262144
ports:
- 8443:8443
- 9000:9000
- 9440:9440
volumes:
- ./tmp/storage/clickhouse-server:/var/log/clickhouse-server
- ./cert:/cert:ro
# configuration:schema
- ./clickhouse/schema.sql:/schema.sql:ro
# configuration:client
- ./clickhouse/clickhouse-client/config.xml:/etc/clickhouse-client/config.xml:ro
# configuration:server
- ./clickhouse/clickhouse-server:/etc/clickhouse-server:ro