-
Notifications
You must be signed in to change notification settings - Fork 0
/
stack-jeedom.yml
57 lines (52 loc) · 1.07 KB
/
stack-jeedom.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
version: '3.5'
services:
db:
image: mysql/mysql-server:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: jeedom
MYSQL_DATABASE: jeedom
MYSQL_USER: jeedom
MYSQL_PASSWORD: jeedom
container_name: jeedom-database
networks:
dedicated:
aliases:
- database
server:
image: jeedom/jeedom:stable
# links:
# - "db:database"
ports:
- 80:80
restart: always
environment:
ROOT_PASSWORD: ${JEEDOM_ROOT_PASSWORD}
volumes:
- data:/var/www/html
tmpfs:
- /var/www/html/log
- /tmp/jeedom/cache
- /tmp/jeedom/backup
container_name: jeedom
networks:
- dedicated
- forbroad
networks:
dedicated:
forbroad:
external:
name: vlan_home_automation
# cache:
# image: memcached:alpine
# links:
# - server
# restart: always
# container_name: jeedom-memcached
# networks:
# - dedicated
volumes:
db_data:
data: