37 lines
849 B
YAML
37 lines
849 B
YAML
services:
|
|
server:
|
|
build:
|
|
context: .
|
|
dockerfile: server/Dockerfile
|
|
# Remove fixed port binding for production - let Coolify/reverse proxy handle routing
|
|
# Uncomment below for local development:
|
|
# ports:
|
|
# - "3000:3000"
|
|
expose:
|
|
- "3000"
|
|
volumes:
|
|
- eventy_data:/app/data
|
|
environment:
|
|
- PORT=3000
|
|
- ADMIN_PASSWORD=${ADMIN_PASSWORD:-123456}
|
|
restart: unless-stopped
|
|
|
|
client:
|
|
build:
|
|
context: ./client
|
|
dockerfile: Dockerfile
|
|
# Remove fixed port binding for production - let Coolify/reverse proxy handle routing
|
|
# Uncomment below for local development:
|
|
# ports:
|
|
# - "5173:5173"
|
|
expose:
|
|
- "5173"
|
|
depends_on:
|
|
- server
|
|
environment:
|
|
- VITE_API_URL=http://server:3000
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
eventy_data:
|