-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsnapcraft.yaml
More file actions
40 lines (37 loc) · 1.07 KB
/
snapcraft.yaml
File metadata and controls
40 lines (37 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: mapinguari
title: Mapinguari
version: 0.0.0
summary: Online game to play with your friends
description: |
Try help:
$ mapinguari -h
Visit https://gitlab.com/FelixFranz/mapinguari/-/wikis/configuration for more information!
Also checkout the source on https://gitlab.com/FelixFranz/mapinguari
license: MIT
# icon: ToDo
base: core20
#confinement: strict --> is not possible because mongodb needs to access /sys/block
confinement: classic
architectures:
- build-on: amd64
run-on: all
parts:
mongodb:
plugin: dump
source: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-4.0.14.tgz
mapinguari:
plugin: npm
source: .
npm-node-version: "14.17.1"
build-environment:
- npm_config_unsafe_perm: "true"
- MONGOMS_DISABLE_POSTINSTALL: "1"
apps:
mapinguari:
command: bin/mapinguari
plugs:
- network
- network-bind
# - hardware-observe --> mongodb needs to access /sys/block, becaus there is no automount we neet to use confinement: classic
environment:
MONGOMS_SYSTEM_BINARY: $SNAP/bin/mongod