Skip to content

Commit 4ee97c9

Browse files
committed
Add DB version to .env file
1 parent 0c18328 commit 4ee97c9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.env.sample

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ NETWORK=webproxy
1212
# Database Container configuration
1313
# We recommend MySQL or MariaDB - please update docker-compose file if needed.
1414
#
15+
DB_VERSION=latest
16+
1517
CONTAINER_DB_NAME=db
1618

1719
# Path to store your database

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: '3'
33
services:
44
db:
55
container_name: ${CONTAINER_DB_NAME}
6-
image: mariadb:latest
6+
image: mariadb:${DB_VERSION:-latest}
77
restart: unless-stopped
88
volumes:
99
- ${DB_PATH}:/var/lib/mysql

0 commit comments

Comments
 (0)