Updated example config file and docker-stack YAML to reflect SQLite requirements
This commit is contained in:
parent
1718e69533
commit
cb013e5bf7
@ -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"
|
||||
}
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user