generated from alecodes/base-template
Compare commits
No commits in common. "f937122a2a916c0da3f797bbbc2311e372f4f2a9" and "f11080ce601cdba8c76544622eca8603a7230efc" have entirely different histories.
f937122a2a
...
f11080ce60
5 changed files with 1 additions and 37 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -7,4 +7,3 @@
|
||||||
|
|
||||||
# Allow to presever folder structure in excluded folers, should be the last rule
|
# Allow to presever folder structure in excluded folers, should be the last rule
|
||||||
!**/.gitkeep
|
!**/.gitkeep
|
||||||
.env
|
|
||||||
|
|
|
||||||
10
.justfile
10
.justfile
|
|
@ -1,13 +1,5 @@
|
||||||
# Repo management tasks
|
# Repo management tasks
|
||||||
mod repo ".devfiles/justfile"
|
mod repo ".devfiles/justfile"
|
||||||
|
|
||||||
[private]
|
|
||||||
[working-directory: 'docker']
|
|
||||||
compose-exec +ARGS:
|
|
||||||
docker compose exec {{ARGS}}
|
|
||||||
|
|
||||||
[working-directory: 'docker']
|
|
||||||
dev:
|
dev:
|
||||||
docker compose up --watch
|
@echo "Edit the .justfile to setup the dev task!"
|
||||||
|
|
||||||
dbmate +ARGS: (compose-exec "index dbmate" ARGS)
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
# FROM ghcr.io/linuxcontainers/debian-slim:latest
|
|
||||||
|
|
||||||
FROM lovasoa/sqlpage
|
|
||||||
|
|
||||||
COPY --from=ghcr.io/amacneil/dbmate /usr/local/bin/dbmate /usr/local/bin/dbmate
|
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
services:
|
|
||||||
index:
|
|
||||||
image: alecodes/index:latest
|
|
||||||
pull_policy: build
|
|
||||||
user: 1000:1000
|
|
||||||
build:
|
|
||||||
context: ..
|
|
||||||
dockerfile: ./docker/Dockerfile
|
|
||||||
env_file: ../.env
|
|
||||||
volumes:
|
|
||||||
- ../src:/app
|
|
||||||
|
|
||||||
db:
|
|
||||||
image: postgres:17
|
|
||||||
env_file: ../.env
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
-- migrate:up
|
|
||||||
|
|
||||||
|
|
||||||
-- migrate:down
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue