-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.demo.yml
74 lines (67 loc) · 1.58 KB
/
docker-compose.demo.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
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: attractify
POSTGRES_USER: attractify
networks:
- attractify
ports:
- 5432:5432
volumes:
- type: volume
source: postgres
target: /db/data
- ./server/testdata/fixtures/postgres.sql:/docker-entrypoint-initdb.d/2_fixtures.sql
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/
server:
image: ghcr.io/inovex/attractify/attractify-server
hostname: server
ports:
- 8080:8080
networks:
- attractify
depends_on:
- postgres
- clickhouse
restart: always
mariadb:
image: ghcr.io/inovex/attractify/attractify-usecase-db
restart: always
environment:
MYSQL_ROOT_PASSWORD: somewordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
sportify:
depends_on:
- mariadb
image: ghcr.io/inovex/attractify/attractify-usecase-frontend
ports:
- "8000:80"
restart: always
environment:
WORDPRESS_DB_HOST: mariadb:3306
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_DB_NAME: wordpress