This commit is contained in:
2026-01-19 18:06:24 +01:00
parent 31d926de34
commit e445cdbfff
40 changed files with 886 additions and 58 deletions

View File

@@ -3,9 +3,10 @@
# Description :
# Homepage :
Base all volumes on `/home/rcadmin/docker/`
```
deploy:
labels:
- homepage.group=Information
@@ -18,5 +19,29 @@
- homepage.widget.url=http://192.168.50.201:8083
- homepage.widget.username=kim
- homepage.widget.password=homekbr1998
```
```
version: '3.8'
services:
web:
image: nginx
volumes:
- web_data:/var/www/html
web-test:
image: nginx
volumes:
- web_data:/var/www/html # Web and web test share the web_data volume
db:
image: mysql
volumes:
- db_data:/var/lib/mysql
volumes:
web_data:
db_data:
driver: local # Define the driver and options under the volume name
driver_opts:
type: none
device: /data/db_data
o: bind
```