Skip to content

Commit

Permalink
update to v.1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CptPie committed Feb 11, 2019
1 parent 4a8f2db commit 2e83132
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ parameters:
webroot: '%kernel.project_dir%/public'

strichliste:
paypal:
enabled: false
recipient: "[email protected]"
fee: 0

user:
# See http://de.php.net/manual/en/datetime.formats.relative.php
Expand Down
12 changes: 8 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ RUN apk --no-cache add ca-certificates \

RUN mkdir /source
WORKDIR /source
RUN curl -Lo strichliste.tar.gz https://github.com/strichliste/server/releases/download/v1.2.3/strichliste.tar.gz
RUN curl -Lo strichliste.tar.gz https://github.com/strichliste/strichliste-backend/releases/download/v1.4.0/strichliste-backend.tar.gz
RUN tar -xf strichliste.tar.gz
RUN rm -r strichliste.tar.gz

RUN curl -Lo strichliste-frontend.tar.gz https://github.com/strichliste/strichliste-web-frontend/releases/download/v1.3.1/strichliste-web-frontend.tar.gz
RUN tar -xf strichliste-frontend.tar.gz --strip 1 -C public/

FROM alpine:3.8

RUN apk --no-cache add ca-certificates \
Expand All @@ -28,7 +31,8 @@ RUN apk --no-cache add ca-certificates \
php7-pdo_mysql \
php7-fpm \
nginx \
bash
bash \
yarn

COPY --from=release /source source

Expand All @@ -49,8 +53,8 @@ COPY ./config/www.conf /etc/php7/php-fpm.d/www.conf
COPY ./config/nginx.conf /etc/nginx/nginx.conf
COPY ./config/default.conf /etc/nginx/conf.d/default.conf

RUN cp /source/var/app.db.example /source/app.db.example
RUN cp /source/var/app.db.example /source/var/app.db
COPY ./data/app.db.empty /source/app.db.example
COPY ./data/app.db.empty /source/var/app.db

VOLUME /source/var

Expand Down

0 comments on commit 2e83132

Please sign in to comment.