-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yml
52 lines (46 loc) · 1023 Bytes
/
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
version: '3.5'
services:
postgres:
image: mdillon/postgis
restart: always
environment:
POSTGRES_USER: mika
POSTGRES_PASSWORD: mika
volumes:
- ./store/postgres/schema.sql:/docker-entrypoint-initdb.d/schema.sql
networks:
- mika_net
mariadb:
image: mariadb:10.3
restart: always
environment:
MYSQL_ROOT_PASSWORD: mika
MYSQL_DATABASE: mika
volumes:
- ./docker/mysql_init.sql:/docker-entrypoint-initdb.d/00_mysql_init.sql
- ./store/mysql/schema.sql:/docker-entrypoint-initdb.d/10_schema.sql
networks:
- mika_net
redis:
image: redis:6-alpine
restart: always
networks:
- mika_testing
mika:
build:
dockerfile: docker/Dockerfilesq
context: "."
restart: always
depends_on:
- mariadb
- postgres
volumes:
- geo_data:/app/geo_data
- ./docker/mika.yaml:/app/mika.yaml
networks:
- mika_net
volumes:
geo_data:
networks:
mika_net:
driver: bridge