mirror of
https://github.com/openvk/openvk
synced 2024-11-16 03:59:19 +03:00
677e147688
* Kubernetes deployment * Update kubernetes deployment * Fix rewrite module load * Fix mysql-primary bootstrap * Fix mysql init-db apply order * Fix init-db.sql permissions * Fix MySQL missing *.sql import * Switch from MySQL to MariaDB * [skip ci] Example deployment update * Set root app in chandler configmap * Update missing php extension in base images * Update missing dependency in apache image * Remove default site configuration * [skip ci] Split Kubernetes deployments by type * Explicitly set persistent volume for openvk storage * [skip ci] Add README for Kubernetes * Replace old docker(-compose) files w/ new ones * Add README for docker usage * [skip ci] Update README.md and README_RU.md * [skip ci] Fix eventdb DB name * [skip ci] Kubernetes configmap: missing namespace * [skip ci] Fix typo * [skip ci] Ignore chandler.yml * [skip ci] Missing /var/log/openvk volume * [skip ci] Workaround for Docker <=20.10.6 * [skip ci] Handle permissions for apache2 * [skip ci] Initial Kafka support * [skip ci] Kafka values for Kubernetes
11 lines
No EOL
543 B
Docker
11 lines
No EOL
543 B
Docker
ARG VERSION="10.9"
|
|
FROM mariadb:$VERSION
|
|
|
|
ADD --chmod=644 https://raw.githubusercontent.com/openvk/chandler/master/install/init-db.sql /docker-entrypoint-initdb.d/00000-1-init-db.sql
|
|
|
|
# Workaround for compatibility with older docker versions w/o `--chmod` flag for COPY/ADD directive
|
|
# Ref: https://stackoverflow.com/q/67910547/14388565
|
|
RUN chmod 644 /docker-entrypoint-initdb.d/00000-1-init-db.sql
|
|
|
|
COPY ./install/init-static-db.sql /docker-entrypoint-initdb.d/00000-2-init-static-db.sql
|
|
COPY ./install/sqls/*.sql /docker-entrypoint-initdb.d/ |