diff --git a/data_handler/Containerfile b/data_handler/Containerfile index 342ae74..5cdf7b9 100644 --- a/data_handler/Containerfile +++ b/data_handler/Containerfile @@ -1,5 +1,5 @@ -FROM quay.io/fedora/fedora-minimal:43 -RUN microdnf install -y php-cli php-mysqli php-bcmath php-xml python-lxml gunzip https://raw.githubusercontent.com/rpmsphere/x86_64/master/d/dcron-4.5-7.1.x86_64.rpm && microdnf clean all +FROM ghcr.io/asohh/fedora-minimal-containers/php-cli:43 +RUN microdnf install -y php-mysqli php-bcmath php-xml python-lxml gunzip https://raw.githubusercontent.com/rpmsphere/x86_64/master/d/dcron-4.5-7.1.x86_64.rpm && microdnf clean all COPY ./utils/* /opt/ COPY ./data_init/*.sql /opt/init/init.sql diff --git a/docker-compose.yml b/docker-compose.yml index cacf904..045d853 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: ports: - "3306:3306" volumes: - - mariadb:/var/lib/mysql:Z + - ./mariadb:/var/lib/mysql:Z healthcheck: test: ["CMD", "mariadb-admin", "ping", "-h", "localhost", "-uroot", "-prootpassword"] interval: 10s @@ -52,6 +52,3 @@ services: db: condition: service_healthy restart: true - -volumes: - mariadb: \ No newline at end of file