forked from kamba4/sunders
Compare commits
2 commits
55cc21f83d
...
6289ed9f7e
| Author | SHA1 | Date | |
|---|---|---|---|
|
6289ed9f7e |
|||
|
d812b46516 |
2 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
Loading…
Add table
Add a link
Reference in a new issue