Using ENV variable for Buzybox image

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

3
.env
View File

@ -29,6 +29,9 @@ POSTGRESQL_IMAGE_TAG=16-alpine
#POSTGRESQL_IMAGE=timescale/timescaledb
#POSTGRESQL_IMAGE_TAG=2.14.2-pg16
BUSYBOX_IMAGE=buxybox
BUSYBOX_IMAGE_TAG=latest
ELASTICSEARCH_IMAGE=elasticsearch
ELASTICSEARCH_IMAGE_TAG=latest

View File

@ -62,12 +62,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