新增wikijs、wiznote的compose示例;新增mariadb、mysql的compose及stack示例;修改部分示例网段
This commit is contained in:
committed by
cloud-init created default user
parent
b73249c50b
commit
00f679a0f6
@@ -8,10 +8,11 @@ services:
|
||||
restart: always
|
||||
networks:
|
||||
- db_network
|
||||
- app_network
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime:ro
|
||||
environment:
|
||||
- PMA_ARBITRARY=1
|
||||
|
||||
@@ -25,4 +26,14 @@ networks:
|
||||
# ipam:
|
||||
# driver: default
|
||||
# config:
|
||||
# - subnet: 172.21.0.1/24
|
||||
# - subnet: 10.21.22.1/24
|
||||
app_network:
|
||||
name: app_network
|
||||
external: true
|
||||
# driver: bridge
|
||||
# driver_opts:
|
||||
# encrypted: 'true'
|
||||
# ipam:
|
||||
# driver: default
|
||||
# config:
|
||||
# - subnet: 10.21.23.1/24
|
||||
|
||||
Reference in New Issue
Block a user