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

Deploy via docker not work #157

Open
k8scat opened this issue Apr 1, 2021 · 2 comments
Open

Deploy via docker not work #157

k8scat opened this issue Apr 1, 2021 · 2 comments

Comments

@k8scat
Copy link

k8scat commented Apr 1, 2021

image

@k8scat
Copy link
Author

k8scat commented Apr 1, 2021

version: "3.3"
services:
  app:
    image: "tanliyuan123/artipub:1.3.0"
    environment:
      MONGO_HOST: "mongo"
      # MONGO_USERNAME: root
      # MONGO_PASSWORD: example
      ARTIPUB_API_ADDRESS: "http://localhost:3000" # 后端API地址,如果安装地址不在本机,请修改为协议+服务器IP地址+端口号(默认为3000)
    ports:
      - "8000:8000" # frontend
      - "3000:3000" # backend
    depends_on:
      - mongo
  mongo:
    image: mongo:latest
    restart: always
    volumes:
      - "/srv/artipub/mongo:/data/db"
    ports:
      - "27017:27017"

@k8scat
Copy link
Author

k8scat commented Apr 1, 2021

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