-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
69 lines (69 loc) · 1.57 KB
/
docker-compose.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
services:
martin:
image: urbica/martin
command: martin --config /app/config.yaml
volumes:
- ./docker/martin-config.yaml:/app/config.yaml
depends_on:
- db-postgis
networks:
- network
db-postgis:
image: postgis/postgis:13-3.0-alpine
command: [ "postgres", "-c", "log_statement=all", "-c", "log_destination=stderr" ]
environment:
- POSTGRES_DB=ehrenamtskarte
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
ports:
- 127.0.0.1:5432:5432
networks:
- network
adminer:
image: "adminer:4.8.1-standalone"
ports:
- 127.0.0.1:5001:8080
networks:
- network
reverse_proxy:
image: "nginx:1.19.5"
ports:
- 127.0.0.1:5002:80
volumes:
- ./backend/ehrenamtskarte-maplibre-style:/usr/share/nginx/html
- ./docker/nginx-development.conf:/etc/nginx/conf.d/default.conf
depends_on:
- martin
networks:
- network
matomo_db:
image: "mariadb:11.1"
command: --max-allowed-packet=64MB
volumes:
- matomo_db_volume:/var/lib/mysql:Z
environment:
- MARIADB_ROOT_PASSWORD=matomo
- MARIADB_AUTO_UPGRADE=1
- MARIADB_DISABLE_UPGRADE_BACKUP=1
env_file:
- ./docker/matomo.env
networks:
- network
matomo:
image: "matomo"
environment:
- MATOMO_DATABASE_HOST=matomo_db
volumes:
- matomo:/var/www/html:z
env_file:
- ./docker/matomo.env
ports:
- 5003:80
networks:
- network
networks:
network:
name: network
volumes:
matomo:
matomo_db_volume: