Skip to content

Commit

Permalink
feat: Add post_start to compose config; add make tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
jhwohlgemuth committed Dec 1, 2024
1 parent 66e6276 commit 9231568
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
.PHONY: check lint format
.PHONY: check lint format up down

include .env

up:
@docker-compose up --detach

down:
@docker-compose down

format:
@for script in $(SCRIPTS) ; do \
dos2unix $$script; \
Expand Down
2 changes: 2 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ services:
ports:
- "1337:1337"
- "13337:13337"
post_start:
- command: install_extensions development python rust
privileged: true
restart: unless-stopped
tty: true
Expand Down

0 comments on commit 9231568

Please sign in to comment.