Skip to content
This repository was archived by the owner on Jun 25, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ up ENV:
if [ "{{ENV}}" = "doc" ]; then
docker compose -f documentation/compose.yml up --detach
elif [ "{{ENV}}" = "dev" ]; then
UID=$(id -u) GID=$(id -g) docker compose -f compose.dev.yml up --detach --build
docker compose -f compose.dev.yml up --detach --build
elif [ "{{ENV}}" = "prod" ]; then
docker compose -f compose.prod.yml up --detach --build
else
Expand Down Expand Up @@ -41,4 +41,4 @@ logs ENV:
fi

shell ENV:
docker compose -f compose.{{ENV}}.yml exec -it webapp sh
docker compose -f compose.{{ENV}}.yml exec -it api sh
20 changes: 0 additions & 20 deletions compose.dev.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,6 @@
name: homepedia

services:
webapp:
build:
context: webapp
dockerfile: docker/dev/Dockerfile
args:
USER_UID: "${UID:?}"
USER_GID: "${GID:?}"
container_name: homepedia-webapp-dev
ports:
- "5173:5173"
volumes:
- ./webapp:/app
# Préserver les node_modules du container (évite l'écrasement par le bind mount)
- /app/node_modules
environment:
- NODE_ENV=development
# Variables Vite à définir si nécessaire :
# - VITE_MAPBOX_TOKEN=your_token_here
restart: unless-stopped

api:
build:
context: api
Expand Down
14 changes: 1 addition & 13 deletions compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
services:
webapp:
build:
context: webapp
dockerfile: docker/prod/Dockerfile
# Décommenter pour passer les variables au build Vite :
# args:
# VITE_MAPBOX_TOKEN: ${VITE_MAPBOX_TOKEN}
container_name: homepedia-webapp-prod
ports:
- "80:80"
restart: unless-stopped

api:
build:
context: api
Expand All @@ -20,4 +8,4 @@ services:
- "8000:8000"
environment:
- ENV=production
restart: unless-stopped
restart: unless-stopped
8 changes: 0 additions & 8 deletions webapp/.dockerignore

This file was deleted.

24 changes: 0 additions & 24 deletions webapp/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions webapp/.mcp.json

This file was deleted.

7 changes: 0 additions & 7 deletions webapp/.prettierignore

This file was deleted.

11 changes: 0 additions & 11 deletions webapp/.prettierrc

This file was deleted.

46 changes: 0 additions & 46 deletions webapp/README.md

This file was deleted.

27 changes: 0 additions & 27 deletions webapp/components.json

This file was deleted.

24 changes: 0 additions & 24 deletions webapp/docker/dev/Dockerfile

This file was deleted.

25 changes: 0 additions & 25 deletions webapp/docker/prod/Dockerfile

This file was deleted.

28 changes: 0 additions & 28 deletions webapp/docker/prod/nginx.conf

This file was deleted.

23 changes: 0 additions & 23 deletions webapp/eslint.config.js

This file was deleted.

13 changes: 0 additions & 13 deletions webapp/index.html

This file was deleted.

Loading
Loading