pica now has mariadb client in environment, and a composition with mariadb to run it

This commit is contained in:
Blue 2023-12-07 19:15:27 -03:00
parent 7a54d5025f
commit d516963219
Signed by: blue
GPG key ID: 9B203B252A63EE38
11 changed files with 110 additions and 16 deletions
pica-maria-apache/apache

View file

@ -0,0 +1,10 @@
# syntax=docker/dockerfile:1
FROM alpine:latest
RUN \
apk add --no-cache \
apache2 \
apache2-proxy
COPY vhost-pica.conf /etc/apache2/conf.d/
EXPOSE 80
CMD httpd -D FOREGROUND

View file

@ -0,0 +1,9 @@
<Location /pica>
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Headers: "*"
</IfModule>
ProxyPass "unix:/run/pica/pica.sock|fcgi://localhost"
ProxyPassReverse "http://localhost"
</Location>