Using ENV variable for Buzybox image

This commit is contained in:
Alexey Pustovalov 2024-10-25 17:14:02 +09:00
parent 0c731b5b2f
commit 5928b3e7ce
2 changed files with 5 additions and 2 deletions

3
.env
View File

@ -28,6 +28,9 @@ POSTGRESQL_IMAGE_TAG=14-alpine
#POSTGRESQL_IMAGE=timescale/timescaledb #POSTGRESQL_IMAGE=timescale/timescaledb
#POSTGRESQL_IMAGE_TAG=2.14.2-pg14 #POSTGRESQL_IMAGE_TAG=2.14.2-pg14
BUSYBOX_IMAGE=buxybox
BUSYBOX_IMAGE_TAG=latest
ELASTICSEARCH_IMAGE=elasticsearch ELASTICSEARCH_IMAGE=elasticsearch
ELASTICSEARCH_IMAGE_TAG=latest ELASTICSEARCH_IMAGE_TAG=latest

View File

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