Fix all network bridge
This commit is contained in:
@@ -5,6 +5,8 @@ services:
|
||||
image: mariadb:10.6
|
||||
container_name: nextcloud_db
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- nextcloud_network
|
||||
volumes:
|
||||
- nextcloud_db:/var/lib/mysql
|
||||
environment:
|
||||
@@ -20,6 +22,9 @@ services:
|
||||
ports:
|
||||
- "6900:80" # HTTP (內網)
|
||||
- "6950:443" # HTTPS (供反向代理用,可透過 cert 處理)
|
||||
networks:
|
||||
- nextcloud_network
|
||||
- webproxy
|
||||
volumes:
|
||||
- /mnt/data/External/Nextcloud_files:/var/www/html/data
|
||||
- nextcloud_data:/var/www/html/
|
||||
@@ -36,3 +41,9 @@ services:
|
||||
volumes:
|
||||
nextcloud_db:
|
||||
nextcloud_data:
|
||||
|
||||
networks:
|
||||
nextcloud_network:
|
||||
driver: bridge
|
||||
webproxy:
|
||||
external: true
|
||||
Reference in New Issue
Block a user