Using ENV variable for Buzybox image

This commit is contained in:
Alexey Pustovalov 2024-10-25 17:14:02 +09:00
parent 83180811bd
commit da7f5ba1eb
2 changed files with 5 additions and 2 deletions

3
.env
View File

@ -27,6 +27,9 @@ POSTGRESQL_IMAGE_TAG=13-alpine
#POSTGRESQL_IMAGE=timescale/timescaledb
#POSTGRESQL_IMAGE_TAG=2.14.2-pg13
BUSYBOX_IMAGE=buxybox
BUSYBOX_IMAGE_TAG=latest
ELASTICSEARCH_IMAGE=elasticsearch
ELASTICSEARCH_IMAGE_TAG=latest

View File

@ -61,12 +61,12 @@ services:
- postgres-server
db-data-mysql:
image: busybox
image: "${BUSYBOX_IMAGE:BUSYBOX_IMAGE_TAG}"
volumes:
- ${DATA_DIRECTORY}/var/lib/mysql:/var/lib/mysql:rw
db-data-pgsql:
image: busybox
image: "${BUSYBOX_IMAGE:BUSYBOX_IMAGE_TAG}"
attach: false
volumes:
- ${DATA_DIRECTORY}/var/lib/postgresql/data:/var/lib/postgresql/data:rw