新增说明及示例文件;更新README.md

This commit is contained in:
2023-12-15 16:17:51 +08:00
committed by huty
parent 55542ff806
commit 2e4d488295
14 changed files with 315 additions and 2 deletions

View File

@@ -0,0 +1,28 @@
version: "3.9"
services:
phpmyadmin:
image: phpmyadmin:5.2.1
container_name: phpmyadmin
hostname: phpmyadmin
restart: always
networks:
- db_network
ports:
- "80:80"
volumes:
- /etc/localtime:/etc/localtime:ro
environment:
- PMA_ARBITRARY=1
networks:
db_network:
name: db_network
external: true
# driver: bridge
# driver_opts:
# encrypted: 'true'
# ipam:
# driver: default
# config:
# - subnet: 172.21.0.1/24