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

Commit

Permalink
fix: clean typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Tchoupinax committed Jul 24, 2024
1 parent 34deeb8 commit 02b6aa5
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,28 @@ version: '3'

services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
restart: always
build:
context: frontend
dockerfile: Dockerfile.dev
command: npx vite --host 0.0.0.0 --port 80
ports:
- 8080:80
volumes:
- $PWD/frontend:/app
- torii-frontend-node-modules:/app/node_modules
depends_on:
backend:
condition: service_started

backend:
restart: always
build:
context: backend
dockerfile: Dockerfile.dev
command: cargo run --config /app/exemples/config.yaml
environment:
DB_CONNECTION_URL: postgres://postgres:postgres@postgres:5432/torii
ports:
- "5173:80"
depends_on:
Expand Down

0 comments on commit 02b6aa5

Please sign in to comment.