pica now has mariadb client in environment, and a composition with mariadb to run it
This commit is contained in:
parent
7a54d5025f
commit
d516963219
11 changed files with 110 additions and 16 deletions
pica-maria-apache/apache
10
pica-maria-apache/apache/Dockerfile
Normal file
10
pica-maria-apache/apache/Dockerfile
Normal 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
|
9
pica-maria-apache/apache/vhost-pica.conf
Normal file
9
pica-maria-apache/apache/vhost-pica.conf
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue