Bugfix on UI elements when no secret is found. Add copy secret button on successful retrieval. Include deployment information and updated example files.

This commit is contained in:
2022-12-27 12:25:14 -06:00
parent c3a3374e45
commit ee8686bc83
11 changed files with 91 additions and 113 deletions

View File

@ -1,11 +1,10 @@
FROM haskell:9.0.2
FROM alpine:3.17.0
WORKDIR /app
ADD . /app
RUN stack setup
RUN stack build --copy-bins --local-bin-path ./
ADD ./views /app/views
ADD ./src /app/src
ADD ./bin/Purr-musl /app/Purr-musl
EXPOSE 3000
CMD ./Purr-exe
ENTRYPOINT ["/app/Purr-musl"]

View File

@ -1,9 +1,5 @@
version: '3.1'
# Default Docker Stack/Compose configuration for Purr.
# You will need to change all instances of "REPLACEME" with the appropriate details.
# Additionally, you may want to update the host port definitions for each service.
services:
purr:
image: purr
@ -13,6 +9,7 @@ services:
- webnet
volumes:
- ./data/Purr.sqlite:/app/data/Purr.sqlite
- ./config.dhall:/app/config.dhall
networks:
webnet: