Set up data paths within the snaps

This commit is contained in:
Marc Di Luzio 2020-06-25 22:25:42 +01:00
parent 58f9d8baf2
commit 8aeb23e40b
2 changed files with 25 additions and 10 deletions

View file

@ -16,6 +16,8 @@ apps:
command: bin/rove
plugs:
- network
environment:
USER_DATA: $SNAP_USER_DATA
rove-server:
command: bin/rove-server
plugs:
@ -23,16 +25,21 @@ apps:
- network-bind
environment:
WORDS_FILE : "$SNAP/data/words_alpha.txt"
DATA_PATH : $SNAP_USER_DATA
rove-accountant:
command: bin/rove-accountant
plugs:
- network
- network-bind
environment:
DATA_PATH : $SNAP_USER_DATA
rove-rest-server:
command: bin/rove-reverse-proxy
plugs:
- network
- network-bind
environment:
DATA_PATH : $SNAP_USER_DATA
parts:
go-rove: