-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (43 loc) · 1.07 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
version: '3'
services:
cloudlog-main:
image: jk13xyz/cloudlog:latest
container_name: cloudlog-main
depends_on:
- cloudlog-mysql
volumes:
- cloudlog-config:/var/www/html/application/config
- cloudlog-uploads:/var/www/html/uploads
- cloudlog-images:/var/www/html/images
ports:
- "7373:80"
restart: unless-stopped
cloudlog-mysql:
image: mysql:latest
container_name: cloudlog-mysql
environment:
MYSQL_RANDOM_ROOT_PASSWORD: yes
MYSQL_DATABASE: cloudlog
MYSQL_USER: cloudlog
MYSQL_PASSWORD: "STRONG_PASSWORD"
volumes:
- cloudlog-dbdata:/var/lib/mysql
restart: unless-stopped
cloudlog-phpmyadmin:
image: phpmyadmin:latest
container_name: cloudlog-phpmyadmin
depends_on:
- cloudlog-mysql
environment:
PMA_HOST: cloudlog-mysql
PMA_PORT: 3306
PMA_USER: cloudlog
PMA_PASSWORD: "STRONG_PASSWORD"
restart: unless-stopped
ports:
- "7374:80"
volumes:
cloudlog-dbdata:
cloudlog-config:
cloudlog-uploads:
cloudlog-images: