Files
vexplor/docker/prod/docker-compose.frontend.prod.yml

31 lines
917 B
YAML
Raw Normal View History

2025-08-21 09:41:46 +09:00
services:
2025-10-02 16:14:22 +09:00
# Next.js 프론트엔드
plm-frontend:
2025-08-21 09:41:46 +09:00
build:
context: ../../frontend
dockerfile: ../docker/prod/frontend.Dockerfile
2025-08-21 09:41:46 +09:00
args:
2025-10-02 16:14:22 +09:00
- NEXT_PUBLIC_API_URL=https://api.vexplor.com
container_name: plm-frontend
restart: always
2025-08-21 09:41:46 +09:00
environment:
2025-10-02 16:14:22 +09:00
NODE_ENV: production
NEXT_PUBLIC_API_URL: https://api.vexplor.com
NEXT_TELEMETRY_DISABLED: "1"
PORT: "3000"
HOSTNAME: 0.0.0.0
volumes:
- /home/vexplor/frontend_data:/app/data
labels:
- traefik.enable=true
- traefik.http.routers.frontend.rule=Host(`v1.vexplor.com`)
- traefik.http.routers.frontend.entrypoints=websecure,web
- traefik.http.routers.frontend.tls=true
- traefik.http.routers.frontend.tls.certresolver=le
- traefik.http.services.frontend.loadbalancer.server.port=3000
2025-08-21 09:41:46 +09:00
networks:
2025-10-02 16:14:22 +09:00
default:
name: toktork_server_default
external: true