tangled
alpha
login
or
join now
kacaii.dev
/
senac-brigade-server
0
fork
atom
wip: currently rewriting the project as a full stack application
tangled.org/kacaii.dev/sigo
gleam
0
fork
atom
overview
issues
1
pulls
pipelines
:truck: rename ´postgre´ to ´postgres´
kacaii.dev
2 months ago
4dedcdf1
15be1c65
1/1
lint.yml
success
36s
+5
-4
3 changed files
expand all
collapse all
unified
split
.justfiles
docker.just
postgres.just
justfile
+2
-2
.justfiles/docker.just
···
7
7
full_image_name := username / image_name + ":" + tag_name
8
8
port := "8000"
9
9
10
10
-
# Run the container
11
11
-
run-container:
10
10
+
# Run the application container
11
11
+
run-application-container:
12
12
{{ docker }} run \
13
13
-e DATABASE_URL=$DATABASE_URL \
14
14
-e COOKIE_TOKEN=$COOKIE_TOKEN \
+2
-1
.justfiles/postgre.just
.justfiles/postgres.just
···
8
8
postgres_db := env("POSTGRES_DB")
9
9
port := "5432"
10
10
11
11
-
run-container:
11
11
+
# Start the Postgres container in the Background
12
12
+
run-database-container:
12
13
{{ docker }} run --rm --name postgres \
13
14
-e POSTGRES_USER={{ postgres_user }} \
14
15
-e POSTGRES_PASSWORD={{ postgres_password }} \
+1
-1
justfile
···
1
1
set quiet := true
2
2
alias r := rebuild-empty
3
3
4
4
-
mod db ".justfiles/postgre.just"
4
4
+
mod db ".justfiles/postgres.just"
5
5
mod docker ".justfiles/docker.just"
6
6
mod gleam ".justfiles/gleam.just"
7
7