Skip to content

Commit

Permalink
Merge branch 'dev' into deps/gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Aug 20, 2024
2 parents 6b6823f + 0d39b9e commit cced0ca
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .config/commands/docker.justfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@ help:
cd {{justfile_directory()}}/docker/development/
docker compose up {{args}}

# Starts the dev docker containers (detached) & shows MaMpf logs
up-logs *args:
#!/usr/bin/env bash
cd {{justfile_directory()}}/docker/development/
docker compose up -d {{args}}
docker compose logs -f mampf

# Shows the log of the specified container
@logs name="mampf":
#!/usr/bin/env bash
cd {{justfile_directory()}}/docker/development/
docker compose logs -f {{name}}

# Starts the dev docker containers and preseeds the database
[confirm("This will reset all your data in the database locally. Continue? (y/n)")]
up-reseed *args:
Expand Down
File renamed without changes.

0 comments on commit cced0ca

Please sign in to comment.