Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我在portainer上一栈部署的,访问是白板 请问怎么解决 #30

Open
lonrencn opened this issue May 17, 2024 · 0 comments
Open

Comments

@lonrencn
Copy link

lonrencn commented May 17, 2024

version: '3.7'

services:
  picServerV2:
    image: itchenliang/pic-server-v2
    container_name: picServerV2
    networks:
      - pic-net
    ports:
      - "4000:4000"
    environment:
      - DB_USERNAME=lig*****
      - DB_PASSWORD=********
      - DB_HOST=********
      - DB_PORT=3306
      - DB_DATABASE=lig*****
      - APP_PORT=4000
      - NPM_REGISTRY=https://registry.npmmirror.com
    volumes:
      - ~/lightfastpicture/public:/server/public

  picClientV2:
    image: itchenliang/pic-client-v2
    container_name: picClientV2
    networks:
      - pic-net
    ports:
      - "9099:80"


networks:
  pic-net:
    external: true # 告诉Docker Compose使用外部网络
    name: pic-net # 确定外部网络的名称

sever logs:

Executing (default): SELECT id, website, contact, system, uplog, bucket_service, createdAt, updatedAt FROM setting AS Setting LIMIT 1;

client logs:

  1. AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
    192.168.1.136 - - [17/May/2024:17:44:56 +0000] "GET /echarts.js HTTP/1.1" 200 3334642 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
    192.168.1.136 - - [17/May/2024:17:44:56 +0000] "GET /favicon.ico HTTP/1.1" 200 16958 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
    192.168.1.136 - - [17/May/2024:17:44:56 +0000] "POST /v1/setting/default HTTP/1.1" 200 55 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"

****数据库是通的

image 这里面只有表结构,没有任何数据

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant