forked from MarceauKa/shaark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
60 lines (55 loc) · 1.12 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
version: '2.2'
services:
shaark:
image: shaark
build: .
container_name: shaark
restart: unless-stopped
# volumes:
# - "./env:/app/.env"
# ports:
# - "80:80/tcp"
networks:
- shaark
- nginx_net
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
mariadb:
image: mariadb
container_name: mariadb_shaark
restart: unless-stopped
volumes:
- /opt/shaark/mariadb:/var/lib/mysql
networks:
- shaark
environment:
MYSQL_ROOT_PASSWORD: rootpassword9867ow3q459087w980
MYSQL_PASSWORD: secret
MYSQL_USER: homestead
MYSQL_DATABASE: homestead
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
redis:
image: redis
container_name: redis_shaark
restart: unless-stopped
volumes:
- /opt/shaark/redis:/data
networks:
- shaark
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
networks:
shaark:
name: shaark_net
nginx_net:
name: nginx_net