Merge pull request 'make player' (#18) from aya/Astroport.ONE:player into master
Reviewed-on: qo-op/Astroport.ONE#18
This commit is contained in:
commit
7ca11f2920
11
Makefile
11
Makefile
|
@ -9,8 +9,17 @@ SHELL_FILES ?= $(wildcard .*/*.sh */*.sh */*/*.sh)
|
||||||
|
|
||||||
all: install tests
|
all: install tests
|
||||||
|
|
||||||
|
install: myos-node player-build up
|
||||||
|
|
||||||
|
player: STACK := User
|
||||||
player:
|
player:
|
||||||
$(call make,stack-ipfs-$(if $(DELETE),down,up) USER=$(PLAYER),$(MYOS),IPFS_IDENTITY_PEERID IPFS_IDENTITY_PRIVKEY)
|
$(call make,stack-User-$(if $(DELETE),down,up),$(MYOS),COMPOSE_PROJECT_NAME MAIL)
|
||||||
|
|
||||||
|
player-%: STACK := User
|
||||||
|
player-%:
|
||||||
|
$(if $(filter $*,$(filter-out %-%,$(patsubst docker-compose-%,%,$(filter docker-compose-%,$(MAKE_TARGETS))))), \
|
||||||
|
$(call make,stack-User-$*,$(MYOS),COMPOSE_PROJECT_NAME MAIL) \
|
||||||
|
)
|
||||||
|
|
||||||
tests: shellcheck
|
tests: shellcheck
|
||||||
|
|
||||||
|
|
|
@ -42,6 +42,12 @@ Lancement API (1234) et MAP (12345)
|
||||||
|
|
||||||
Trouvez le moyen d'accéder à votre "Station Astroport" en explorant les environs du premier de ce nom.
|
Trouvez le moyen d'accéder à votre "Station Astroport" en explorant les environs du premier de ce nom.
|
||||||
|
|
||||||
|
# INSTALLATION (Docker)
|
||||||
|
|
||||||
|
```
|
||||||
|
make install
|
||||||
|
```
|
||||||
|
|
||||||
# USAGE
|
# USAGE
|
||||||
|
|
||||||
Selon le modèle de votre TW,
|
Selon le modèle de votre TW,
|
||||||
|
|
|
@ -33,11 +33,6 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
home:
|
home:
|
||||||
shared:
|
shared:
|
||||||
driver: local
|
|
||||||
driver_opts:
|
|
||||||
type: none
|
|
||||||
device: /mnt/shared
|
|
||||||
o: bind
|
|
||||||
shm:
|
shm:
|
||||||
driver: local
|
driver: local
|
||||||
driver_opts:
|
driver_opts:
|
||||||
|
|
|
@ -1,12 +1,9 @@
|
||||||
COMPOSE_FILE_VDI := true
|
COMPOSE_FILE_VDI := true
|
||||||
COMPOSE_PROJECT_NAME := $(HOSTNAME)
|
MAKE_VARS += NODE_VDI_PORT User node
|
||||||
MAKE_VARS += NODE_VDI_PORT node
|
|
||||||
SERVICE := astroport
|
SERVICE := astroport
|
||||||
SSH_PORT := $(NODE_VDI_PORT)
|
SSH_PORT := $(NODE_VDI_PORT)
|
||||||
SSH_PUBLIC_HOSTS += git.p2p.legal
|
SSH_PUBLIC_HOSTS += git.p2p.legal
|
||||||
STACK := node
|
STACK := node
|
||||||
UFW_UPDATE := $(SERVICE)
|
UFW_UPDATE := $(SERVICE)
|
||||||
|
User := User/ipfs
|
||||||
node := node/ipfs
|
node := node/ipfs
|
||||||
|
|
||||||
bootstrap-stack: myos-node
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue