-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
83 lines (82 loc) · 1.98 KB
/
docker-compose.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
services:
veloinfo:
build:
context: .
dockerfile: Dockerfile
target: dev
volumes:
- .:/app:Z
- root:/root/.local:z
- target:/app/target
- node_modules:/app/node_modules
- images:/images
ports:
- 3000:3000
- 3002:3002
environment:
- IMAGE_DIR=/images
- PGUSER=postgres
- DATABASE_URL=postgresql://postgres:postgres@db:5432/carte
- MARTIN_URL=http://localhost:3001
- KEYCLOAK_BROWSER_URL=https://keycloak.veloinfo.ca/realms/master
- KEYCLOAK_SERVER_URL=https://keycloak.veloinfo.ca/realms/master
- VELOINFO_URL=http://localhost:3000
- ENV=dev
- MATOMO_SERVER=localhost:8080
depends_on:
- db
martin:
image: ghcr.io/maplibre/martin:v0.11.2
volumes:
- ./martin/fonts:/fonts/:z
environment:
- DATABASE_URL=postgresql://postgres:postgres@db:5432/carte
ports:
- 3001:3000
depends_on:
- db
- veloinfo
entrypoint: martin --font /fonts
db:
image: postgis/postgis:13-3.5
environment:
POSTGRES_USER: postgres
POSTGRES_DB: carte
POSTGRES_PASSWORD: postgres
volumes:
- db:/var/lib/postgresql/data:z
ports:
- 5432:5432
matomo:
image: matomo
volumes:
- matomo:/var/www/html:Z
environment:
- MATOMO_DATABASE_HOST=matomo-db
- PHP_MEMORY_LIMIT=2048MMYSQL_PASSWORD=
- MATOMO_DATABASE_ADAPTER=mysql
- MATOMO_DATABASE_TABLES_PREFIX=matomo_
- MATOMO_DATABASE_USERNAME=matomo
- MATOMO_DATABASE_PASSWORD=matomo
- MATOMO_DATABASE_DBNAME=matomo
ports:
- 8080:80
matomo-db:
image: mariadb:10.11
command: --max-allowed-packet=64MB
restart: always
volumes:
- matomo-db:/var/lib/mysql:Z
environment:
- MARIADB_DATABASE=matomo
- MARIADB_USER=matomo
- MARIADB_PASSWORD=matomo
- MARIADB_ROOT_PASSWORD=matomo
volumes:
root:
db:
matomo-db:
matomo:
target:
node_modules:
images: