Merged PR 18675: add shell-service

This commit is contained in:
Steffen Jost 2025-03-25 16:16:51 +00:00
commit a01398f1db
2 changed files with 7 additions and 2 deletions

View File

@ -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:

View File

@ -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