Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
feat: ux
Browse files Browse the repository at this point in the history
  • Loading branch information
Tchoupinax committed Jul 24, 2024
1 parent 27689af commit 8ca16df
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion backend/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

# Sources
!src
!examples
!examples
3 changes: 3 additions & 0 deletions backend/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ FROM rust:1.79-bookworm

WORKDIR /app

RUN apt update && apt install -y libssl-dev python3 && \
ln -s /usr/bin/python3 /usr/bin/python

COPY . .
12 changes: 5 additions & 7 deletions docker-compose.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,18 @@ services:
build:
context: backend
dockerfile: Dockerfile.dev
command: cargo run --config /app/exemples/config.yaml
command: cargo run -- --config /app/examples/config.yaml
ports:
- '9999:9999'
volumes:
- type: bind
source: ./backend
target: /tmp
- $PWD/backend:/app
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:9999" ]
environment:
- DB_CONNECTION_URL=postgresql://postgres:postgres@postgres:5432/torii
depends_on:
postgres:
condition: service_healthy
#depends_on:
# postgres:
# condition: service_healthy

postgres:
image: postgres:16-alpine
Expand Down
9 changes: 5 additions & 4 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8ca16df

Please sign in to comment.