wip: currently rewriting the project as a full stack application tangled.org/kacaii.dev/sigo
gleam

:bug: run sql scripts for generating the tables when running the postgres container

+3 -2
+1 -2
.justfiles/docker.just
··· 6 6 docker := require("docker") 7 7 full_image_name := username / image_name + ":" + tag_name 8 8 image_name := "senac-brigade-server" 9 - port := "8000" 10 9 tag_name := "latest" 11 10 username := "kacaii" 12 11 ··· 16 15 -e DATABASE_URL={{ database_url }} \ 17 16 -e COOKIE_TOKEN={{ cookie_token }} \ 18 17 -e ADMIN_TOKEN={{ admin_token }} \ 19 - -p {{ port }}:{{ port }} \ 18 + -p 8000:8000 \ 20 19 {{ image_name }}:{{ tag_name }} 21 20 22 21 #  Build, Tag and Push your app
+2
compose.yaml
··· 8 8 interval: 5s 9 9 timeout: 5s 10 10 retries: 5 11 + volumes: 12 + - ./priv/sql/create:/docker-entrypoint-initdb.d 11 13 12 14 environment: 13 15 - POSTGRES_USER