-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
50 lines (44 loc) · 932 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
version: "3.8"
services:
lembot:
container_name: "lembot"
image: "leminee/lembot:latest"
restart: "always"
depends_on:
- "database"
networks:
- "lembot"
database:
container_name: "database"
image: "mariadb:10.11"
restart: "always"
ports:
- "127.0.0.1:3306:3306"
environment:
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: "no"
MYSQL_DATABASE: "lembot"
MYSQL_USER: "lembot"
MYSQL_PASSWORD: "lembot"
volumes:
- "lembot:/var/lib/mysql"
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
networks:
- "lembot"
phpmyadmin:
image: "phpmyadmin:5.2.0"
container_name: "PhpMyAdmin"
restart: "always"
depends_on:
- "database"
ports:
- "80:80"
environment:
- "PMA_ARBITRARY=1"
networks:
- "lembot"
networks:
lembot:
driver: "bridge"
volumes:
lembot: