Initial commit
This commit is contained in:
64
web/docker-compose.yml
Normal file
64
web/docker-compose.yml
Normal file
@@ -0,0 +1,64 @@
|
||||
# Docker Compose for Unraid - Feeld Web App
|
||||
#
|
||||
# Access at http://YOUR_UNRAID_IP:7743
|
||||
#
|
||||
# ============================================
|
||||
# CONFIGURE THESE PATHS FOR YOUR UNRAID SETUP
|
||||
# ============================================
|
||||
# Edit the left side of the colon (:) for each volume mount
|
||||
#
|
||||
# APP_PATH: Where the app code lives on Unraid (/mnt/user/appdata/FeeldWeb)
|
||||
# DATA_PATH: Where to store persistent user data (/mnt/user/downloads/feeldWeb)
|
||||
|
||||
services:
|
||||
backend:
|
||||
build:
|
||||
context: /mnt/user/appdata/FeeldWeb
|
||||
dockerfile: server/Dockerfile
|
||||
container_name: feeld-web-backend
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
# === CONFIGURABLE DATA PATH ===
|
||||
- /mnt/user/downloads/feeldWeb:/data # DATA_PATH - persistent storage (separate from app)
|
||||
environment:
|
||||
- DATA_PATH=/data
|
||||
- PORT=3001
|
||||
networks:
|
||||
- feeld-web
|
||||
|
||||
frontend:
|
||||
build:
|
||||
context: /mnt/user/appdata/FeeldWeb
|
||||
dockerfile: Dockerfile
|
||||
container_name: feeld-web-frontend
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /mnt/user/appdata/FeeldWeb:/app
|
||||
- feeld-web-node-modules:/app/node_modules
|
||||
environment:
|
||||
- VITE_API_URL=
|
||||
depends_on:
|
||||
- backend
|
||||
networks:
|
||||
- feeld-web
|
||||
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
container_name: feeld-web-nginx
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "7743:80"
|
||||
volumes:
|
||||
- /mnt/user/appdata/FeeldWeb/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
depends_on:
|
||||
- backend
|
||||
- frontend
|
||||
networks:
|
||||
- feeld-web
|
||||
|
||||
networks:
|
||||
feeld-web:
|
||||
name: feeld-web
|
||||
|
||||
volumes:
|
||||
feeld-web-node-modules:
|
||||
Reference in New Issue
Block a user