commit cb013e5bf7ed0dff1dc41aed1249afa86640dd32
parent 1718e69533788cbfef4144a38bd7ae9b67a3df9e
Author: James Eversole <james@eversole.co>
Date: Mon, 18 Jul 2022 16:07:04 -0500
Updated example config file and docker-stack YAML to reflect SQLite requirements
Diffstat:
2 files changed, 2 insertions(+), 21 deletions(-)
diff --git a/examples/config.dhall b/examples/config.dhall
@@ -3,16 +3,11 @@
Default Dhall Configuration for Purr.
You will need to change all instances of "REPLACEME" with the
appropriate details. Additionally, you may want to change the
- applicationPort from 3000 and the couchPort.
+ applicationPort from 3000.
-}
{ environment = "production"
, applicationHost = "REPLACEME"
, applicationPort = +3000
-, couchHost = "REPLACEME"
-, couchPort = +5984
-, couchUsername = "REPLACEME"
-, couchPassword = "REPLACEME"
-, adminDB = "REPLACEME"
-, dataDB = "REPLACEME"
+, dbFile = "data/Purr.sqlite"
}
diff --git a/examples/docker-stack.yml b/examples/docker-stack.yml
@@ -5,26 +5,12 @@ version: '3.1'
# Additionally, you may want to update the host port definitions for each service.
services:
- couchdb:
- image: couchdb:3.2.2
- ports:
- - 5984:5984
- volumes:
- - ./data:/opt/couchdb/data
- networks:
- - webnet
- environment:
- COUCHDB_USER: REPLACEME
- COUCHDB_PASSWORD: REPLACEME
-
purr:
image: purr
ports:
- 5195:3000
networks:
- webnet
- depends_on:
- - couchdb
networks:
webnet: