mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2026-03-21 22:56:47 +00:00
Build frontend image for local compose (#884)
This commit is contained in:
@@ -83,25 +83,21 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
- 6379:6379
|
||||||
web:
|
web:
|
||||||
image: node:22-alpine
|
build:
|
||||||
|
context: ./www
|
||||||
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
command: sh -c "corepack enable && pnpm install && pnpm dev"
|
|
||||||
restart: unless-stopped
|
|
||||||
working_dir: /app
|
|
||||||
volumes:
|
|
||||||
- ./www:/app/
|
|
||||||
- /app/node_modules
|
|
||||||
- next_cache:/app/.next
|
|
||||||
env_file:
|
env_file:
|
||||||
- ./www/.env.local
|
- ./www/.env.local
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=development
|
NODE_ENV: development
|
||||||
- SERVER_API_URL=http://host.docker.internal:1250
|
SERVER_API_URL: http://host.docker.internal:1250
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "host.docker.internal:host-gateway"
|
- "host.docker.internal:host-gateway"
|
||||||
depends_on:
|
depends_on:
|
||||||
- server
|
redis:
|
||||||
|
condition: service_started
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:17
|
image: postgres:17
|
||||||
|
|||||||
Reference in New Issue
Block a user