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.
|
Default Dhall Configuration for Purr.
|
||||||
You will need to change all instances of "REPLACEME" with the
|
You will need to change all instances of "REPLACEME" with the
|
||||||
appropriate details. Additionally, you may want to change the
|
appropriate details. Additionally, you may want to change the
|
||||||
applicationPort from 3000 and the couchPort.
|
applicationPort from 3000.
|
||||||
-}
|
-}
|
||||||
|
|
||||||
{ environment = "production"
|
{ environment = "production"
|
||||||
, applicationHost = "REPLACEME"
|
, applicationHost = "REPLACEME"
|
||||||
, applicationPort = +3000
|
, applicationPort = +3000
|
||||||
, couchHost = "REPLACEME"
|
, dbFile = "data/Purr.sqlite"
|
||||||
, couchPort = +5984
|
|
||||||
, couchUsername = "REPLACEME"
|
|
||||||
, couchPassword = "REPLACEME"
|
|
||||||
, adminDB = "REPLACEME"
|
|
||||||
, dataDB = "REPLACEME"
|
|
||||||
}
|
}
|
||||||
|
@ -5,26 +5,12 @@ version: '3.1'
|
|||||||
# Additionally, you may want to update the host port definitions for each service.
|
# Additionally, you may want to update the host port definitions for each service.
|
||||||
|
|
||||||
services:
|
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:
|
purr:
|
||||||
image: purr
|
image: purr
|
||||||
ports:
|
ports:
|
||||||
- 5195:3000
|
- 5195:3000
|
||||||
networks:
|
networks:
|
||||||
- webnet
|
- webnet
|
||||||
depends_on:
|
|
||||||
- couchdb
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
webnet:
|
webnet:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user