201 előtti mentés
This commit is contained in:
@@ -22,6 +22,8 @@ services:
|
||||
build: ./backend
|
||||
container_name: sf_api
|
||||
env_file: .env
|
||||
environment:
|
||||
- ALLOWED_ORIGINS=https://app.servicefinder.hu,https://admin.servicefinder.hu,https://dev.servicefinder.hu,http://192.168.100.10:8503,http://localhost:5173,http://localhost:3001
|
||||
ports:
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
@@ -278,22 +280,41 @@ services:
|
||||
sf_admin_frontend:
|
||||
build:
|
||||
context: ./frontend/admin
|
||||
target: builder
|
||||
dockerfile: Dockerfile.dev
|
||||
container_name: sf_admin_frontend
|
||||
command: npm run dev -- -o
|
||||
env_file: .env
|
||||
ports:
|
||||
- "8502:8502"
|
||||
environment:
|
||||
- NUXT_PORT=8502
|
||||
- NUXT_HOST=0.0.0.0
|
||||
- NUXT_PUBLIC_API_BASE_URL=http://sf_api:8000
|
||||
- NUXT_PUBLIC_API_BASE_URL=https://dev.servicefinder.hu
|
||||
volumes:
|
||||
- ./frontend/admin:/app
|
||||
- /app/node_modules
|
||||
- /app/.nuxt
|
||||
networks:
|
||||
- sf_net
|
||||
- shared_db_net
|
||||
restart: unless-stopped
|
||||
|
||||
# --- PUBLIC FRONTEND (Epic 11 - Public Portal) ---
|
||||
sf_public_frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile.dev
|
||||
container_name: sf_public_frontend
|
||||
command: npm run dev -- --host 0.0.0.0
|
||||
env_file: .env
|
||||
ports:
|
||||
- "8503:5173"
|
||||
environment:
|
||||
- VITE_API_BASE_URL=http://sf_api:8000
|
||||
volumes:
|
||||
- ./frontend:/app
|
||||
- /app/node_modules
|
||||
networks:
|
||||
- sf_net
|
||||
- shared_db_net
|
||||
restart: unless-stopped
|
||||
|
||||
# --- ULTIMATESPECS ROBOTOK (A Turbó fokozat) ---
|
||||
@@ -345,6 +366,19 @@ services:
|
||||
- shared_db_net
|
||||
restart: unless-stopped
|
||||
|
||||
# --- PERMANENT TEST LAB & CI/CD PIPELINE ---
|
||||
sf_tester:
|
||||
image: mcr.microsoft.com/playwright:v1.58.2-jammy
|
||||
container_name: sf_tester
|
||||
volumes:
|
||||
- ./frontend:/app
|
||||
- sf_tester_node_modules:/app/node_modules
|
||||
networks:
|
||||
- sf_net
|
||||
- shared_db_net
|
||||
command: tail -f /dev/null
|
||||
restart: unless-stopped
|
||||
|
||||
# --- MAILPIT (E-MAIL TESZTELÉS) ---
|
||||
sf_mailpit:
|
||||
image: axllent/mailpit
|
||||
@@ -356,6 +390,9 @@ services:
|
||||
- sf_net
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
sf_tester_node_modules:
|
||||
|
||||
networks:
|
||||
sf_net:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user