Compare commits

..

2 commits

Author SHA1 Message Date
6289ed9f7e
fix: Replaces external project reference
All checks were successful
Build (and tag) Images / build (push) Successful in 49s
Build (and tag) Images / build (pull_request) Successful in 50s
2025-10-25 16:13:54 +02:00
d812b46516
chore: Removes need for container host directory by moving database to volume 2025-10-25 16:13:46 +02:00
2 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,5 @@
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
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
COPY ./utils/* /opt/
COPY ./data_init/*.sql /opt/init/init.sql

View file

@ -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,3 +52,6 @@ services:
db:
condition: service_healthy
restart: true
volumes:
mariadb: