Xibo with sql server in other server
· 639 B · Text
原始檔案
version: "3.9"
services:
xibo-cms:
image: xibosignage/xibo-cms:latest
container_name: xibo-cms
ports:
- "65501:80"
environment:
- MYSQL_HOST=IP of your sql database
- MYSQL_PORT=3306
- MYSQL_DATABASE=XIBO
- MYSQL_USER=xibo
- MYSQL_PASSWORD=Mysafepassword
- XMR_HOST=xibo-xmr # Nom du service XMR
volumes:
- /volume1/docker/xibo/library:/var/www/cms/library
- /volume1/docker/xibo/custom:/var/www/cms/custom
restart: always
xibo-xmr:
image: xibosignage/xibo-xmr:latest
container_name: xibo-xmr
ports:
- "9505:9505"
restart: always
1 | version: "3.9" |
2 | |
3 | services: |
4 | xibo-cms: |
5 | image: xibosignage/xibo-cms:latest |
6 | container_name: xibo-cms |
7 | ports: |
8 | - "65501:80" |
9 | environment: |
10 | - MYSQL_HOST=IP of your sql database |
11 | - MYSQL_PORT=3306 |
12 | - MYSQL_DATABASE=XIBO |
13 | - MYSQL_USER=xibo |
14 | - MYSQL_PASSWORD=Mysafepassword |
15 | - XMR_HOST=xibo-xmr # Nom du service XMR |
16 | volumes: |
17 | - /volume1/docker/xibo/library:/var/www/cms/library |
18 | - /volume1/docker/xibo/custom:/var/www/cms/custom |
19 | restart: always |
20 | |
21 | xibo-xmr: |
22 | image: xibosignage/xibo-xmr:latest |
23 | container_name: xibo-xmr |
24 | ports: |
25 | - "9505:9505" |
26 | restart: always |
27 |