Merged PR 18675: add shell-service
This commit is contained in:
commit
a01398f1db
4
Makefile
4
Makefile
@ -75,6 +75,10 @@ start: start-postgres start-maildev start-memcached start-minio start-backend
|
|||||||
start-%:
|
start-%:
|
||||||
docker compose up -d --build $*
|
docker compose up -d --build $*
|
||||||
|
|
||||||
|
.PHONY: shell-%
|
||||||
|
shell-%:
|
||||||
|
docker compose run $*
|
||||||
|
|
||||||
.PHONY: stop
|
.PHONY: stop
|
||||||
# HELP: stop all services
|
# HELP: stop all services
|
||||||
stop:
|
stop:
|
||||||
|
|||||||
@ -27,10 +27,11 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./backend
|
context: ./backend
|
||||||
dockerfile: ./Dockerfile
|
dockerfile: ./Dockerfile
|
||||||
userns_mode: host
|
environment:
|
||||||
|
PATH: /fradrive/bin:$PATH
|
||||||
volumes:
|
volumes:
|
||||||
- ./backend:/fradrive
|
- ./backend:/fradrive
|
||||||
- ./bin:/usr/bin/fradrive
|
- ./bin:/fradrive/bin
|
||||||
- ./assets:/fradrive/assets:ro
|
- ./assets:/fradrive/assets:ro
|
||||||
- ./static:/fradrive/static:ro
|
- ./static:/fradrive/static:ro
|
||||||
- ./well-known:/fradrive/well-known:ro
|
- ./well-known:/fradrive/well-known:ro
|
||||||
|
|||||||
Reference in New Issue
Block a user