ppanel-web/docker/docker-compose.yml
shanshanzhong 7419d8ebcd
Some checks failed
CI / build (20.15.1) (push) Failing after 14m41s
feat: 0
2026-01-05 03:24:27 -08:00

28 lines
854 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
admin-web:
container_name: ppanel-admin-web
build:
context: ../
dockerfile: ./docker/ppanel-admin-web/Dockerfile
environment:
NEXT_PUBLIC_API_URL: 'https://api.hifast.biz'
NEXT_PUBLIC_DEFAULT_LANGUAGE: 'en-US'
NEXT_PUBLIC_SITE_URL: 'https://4d3vsw8.88xgaen.hifast.biz'
NEXT_PUBLIC_DEFAULT_USER_EMAIL: 'admin@ppanel.dev'
NEXT_PUBLIC_DEFAULT_USER_PASSWORD: 'password'
# 使用 host 模式可解决网络连接问题,但需注意端口冲突(默认 3000
# network_mode: "host"
restart: always
ports:
- 3001:3000
user-web:
container_name: ppanel-user-web
build:
context: ../
dockerfile: ./docker/ppanel-user-web/Dockerfile
environment:
NEXT_PUBLIC_API_URL: 'https://api.ppanel.dev'
restart: always
ports:
- 3002:3000