-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.sample.yml
59 lines (54 loc) · 1.12 KB
/
docker-compose.sample.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
version: "3.8"
volumes:
postgres:
clickhouse:
networks:
attractify:
name: attractify
services:
postgres:
image: ghcr.io/inovex/attractify/attractify-postgres
hostname: postgres
environment:
POSTGRES_DB: attractify
POSTGRES_PASSWORD: <YOUR_PASSWORD>
POSTGRES_USER: <YOUR_USER>
networks:
- attractify
ports:
- 5432:5432
volumes:
- type: volume
source: postgres
target: /db/data
deploy:
replicas: 1 #Do not change
clickhouse:
image: ghcr.io/inovex/attractify/attractify-clickhouse
hostname: clickhouse
networks:
- attractify
ports:
- "8123:8123"
- "9000:9000"
volumes:
- type: volume
source: clickhouse
target: /var/lib/clickhouse/
deploy:
replicas: 1 #Do not change
server:
image: ghcr.io/inovex/attractify/attractify-server
hostname: server
ports:
- 8080:8080
networks:
- attractify
depends_on:
- postgres
- clickhouse
restart: always
volumes:
- ./server/config.json:/app/config.json
deploy:
replicas: 1