From cb013e5bf7ed0dff1dc41aed1249afa86640dd32 Mon Sep 17 00:00:00 2001 From: James Eversole Date: Mon, 18 Jul 2022 16:07:04 -0500 Subject: [PATCH] Updated example config file and docker-stack YAML to reflect SQLite requirements --- examples/config.dhall | 9 ++------- examples/docker-stack.yml | 14 -------------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/examples/config.dhall b/examples/config.dhall index ffdb529..1cc4259 100644 --- 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 index 301b513..3674572 100644 --- 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: