更新部分镜像版本
This commit is contained in:
parent
aeea4083f8
commit
c1d47f3313
@ -27,7 +27,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- DRAWIO_SERVER_URL="drawio:8080"
|
- DRAWIO_SERVER_URL="drawio:8080"
|
||||||
plantuml-server:
|
plantuml-server:
|
||||||
image: plantuml/plantuml-server:v1.2024.7
|
image: plantuml/plantuml-server:v1.2024.8
|
||||||
container_name: plantuml-server
|
container_name: plantuml-server
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
|
@ -2,7 +2,7 @@ version: "3.9"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
mariadb:
|
mariadb:
|
||||||
image: mariadb:11.5.2
|
image: mariadb:10.11.10
|
||||||
container_name: mariadb
|
container_name: mariadb
|
||||||
hostname: mariadb
|
hostname: mariadb
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -2,7 +2,7 @@ version: "3.9"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
mariadb:
|
mariadb:
|
||||||
image: mariadb:11.5.2
|
image: mariadb:10.11.10
|
||||||
container_name: mariadb
|
container_name: mariadb
|
||||||
hostname: mariadb
|
hostname: mariadb
|
||||||
restart: always
|
restart: always
|
||||||
|
31
examples/mariadb/11/compose/compose.yaml
Normal file
31
examples/mariadb/11/compose/compose.yaml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
version: "3.9"
|
||||||
|
|
||||||
|
services:
|
||||||
|
mariadb:
|
||||||
|
image: mariadb:11.6.2
|
||||||
|
container_name: mariadb
|
||||||
|
hostname: mariadb
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- db_network
|
||||||
|
ports:
|
||||||
|
- "3306:3306"
|
||||||
|
volumes:
|
||||||
|
- /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime:ro
|
||||||
|
- ./data:/var/lib/mysql
|
||||||
|
- ./conf/my.cnf:/etc/mysql/conf.d/my.cnf
|
||||||
|
- ./conf/root.key:/etc/mysql/conf.d/root.key
|
||||||
|
environment:
|
||||||
|
- MYSQL_ROOT_PASSWORD_FILE=/etc/mysql/conf.d/root.key
|
||||||
|
|
||||||
|
networks:
|
||||||
|
db_network:
|
||||||
|
name: db_network
|
||||||
|
external: true
|
||||||
|
# driver: bridge
|
||||||
|
# driver_opts:
|
||||||
|
# encrypted: 'true'
|
||||||
|
# ipam:
|
||||||
|
# driver: default
|
||||||
|
# config:
|
||||||
|
# - subnet: 10.21.22.1/24
|
4
examples/mariadb/11/compose/conf/my.cnf
Normal file
4
examples/mariadb/11/compose/conf/my.cnf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[mysqld]
|
||||||
|
max_connections = 1000
|
||||||
|
character-set-server = utf8mb4
|
||||||
|
collation-server = utf8mb4_unicode_ci
|
1
examples/mariadb/11/compose/conf/root.key
Normal file
1
examples/mariadb/11/compose/conf/root.key
Normal file
@ -0,0 +1 @@
|
|||||||
|
5bkyVJsvXuSEZag8xChVXn9GEwHzrmvX
|
46
examples/mariadb/11/stack/compose.yaml
Normal file
46
examples/mariadb/11/stack/compose.yaml
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
version: "3.9"
|
||||||
|
|
||||||
|
services:
|
||||||
|
mariadb:
|
||||||
|
image: mariadb:11.6.2
|
||||||
|
container_name: mariadb
|
||||||
|
hostname: mariadb
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- db_network
|
||||||
|
ports:
|
||||||
|
- "3306:3306"
|
||||||
|
volumes:
|
||||||
|
- /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime:ro
|
||||||
|
- mariadb_db:/var/lib/mysql
|
||||||
|
configs:
|
||||||
|
- source: mariadb_conf
|
||||||
|
target: /etc/mysql/conf.d/my.cnf
|
||||||
|
mode: 0444
|
||||||
|
secrets:
|
||||||
|
- mariadb_root_key
|
||||||
|
environment:
|
||||||
|
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/mariadb_root_key
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
mariadb_db:
|
||||||
|
|
||||||
|
configs:
|
||||||
|
mariadb_conf:
|
||||||
|
file: my.cnf
|
||||||
|
|
||||||
|
secrets:
|
||||||
|
mariadb_root_key:
|
||||||
|
file: root.key
|
||||||
|
|
||||||
|
networks:
|
||||||
|
db_network:
|
||||||
|
name: db_network
|
||||||
|
external: true
|
||||||
|
# driver: bridge
|
||||||
|
# driver_opts:
|
||||||
|
# encrypted: 'true'
|
||||||
|
# ipam:
|
||||||
|
# driver: default
|
||||||
|
# config:
|
||||||
|
# - subnet: 172.21.0.1/24
|
4
examples/mariadb/11/stack/my.cnf
Normal file
4
examples/mariadb/11/stack/my.cnf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[mysqld]
|
||||||
|
max_connections = 1000
|
||||||
|
character-set-server = utf8mb4
|
||||||
|
collation-server = utf8mb4_unicode_ci
|
1
examples/mariadb/11/stack/root.key
Normal file
1
examples/mariadb/11/stack/root.key
Normal file
@ -0,0 +1 @@
|
|||||||
|
5bkyVJsvXuSEZag8xChVXn9GEwHzrmvX
|
@ -2,7 +2,7 @@ version: "3.9"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
portainer:
|
portainer:
|
||||||
image: portainer/portainer-ce:2.23.0-alpine
|
image: portainer/portainer-ce:2.25.0-alpine
|
||||||
container_name: portainer
|
container_name: portainer
|
||||||
hostname: portainer
|
hostname: portainer
|
||||||
restart: always
|
restart: always
|
||||||
|
Loading…
x
Reference in New Issue
Block a user