-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
44 lines (41 loc) · 1.04 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
version: "3.9"
services:
influxdb:
image: influxdb:2.2.0
restart: on-failure
ports:
- "8086:8086"
expose:
- "8086"
environment:
- DOCKER_INFLUXDB_INIT_MODE=setup
- DOCKER_INFLUXDB_INIT_USERNAME=cats
- DOCKER_INFLUXDB_INIT_PASSWORD=cats@root
- DOCKER_INFLUXDB_INIT_ORG=cats
- DOCKER_INFLUXDB_INIT_BUCKET=cats
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=cats
networks:
- internal
volumes:
- ./dockerfiles/entry-influxdb.sh:/docker-entrypoint-initdb.d/entry-influxdb.sh
- ./data/influxdb2:/var/lib/influxdb2
mariadb:
image: mariadb:10.5
restart: on-failure
ports:
- "3306:3306"
expose:
- "3306"
environment:
- MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=yes
- MARIADB_DATABASE=cats
- MARIADB_USER=cats
- MARIADB_PASSWORD=cats
networks:
- internal
volumes:
- ./dockerfiles/entry-mariadb.sql:/docker-entrypoint-initdb.d/entry-mariadb.sql
- ./data/mysql:/var/lib/mysql
networks:
internal:
driver: bridge