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

Criar Volume para Tokens #1

Closed
moskoweb opened this issue Jul 12, 2021 · 1 comment
Closed

Criar Volume para Tokens #1

moskoweb opened this issue Jul 12, 2021 · 1 comment

Comments

@moskoweb
Copy link
Contributor

Seria bom separar os tokens em um volume para que fique facil de copiar ou fazer backup dos mesmos.

@bgastaldi
Copy link
Collaborator

bgastaldi commented Jul 12, 2021

Bom dia,

Na verdade se você pegar o vídeo 2 (https://www.youtube.com/watch?v=kDHbf1TWkBw) e trocar o docker-compose.yaml pelo abaixo, você tem o volume compartilhado.

wppconnect-server:
    build: 
      context: ./wppconnect-server
      dockerfile: Dockerfile
    image: wppconnect-server
    container_name: wppconnect-server
    hostname: wppconnect-server
    volumes:
      - ./wppconnect-server/app/token:/home/node/app/token
      - ./wppconnect-server/app:/home/node/app
      - /home/node/app/node_modules
    entrypoint: docker-entrypoint.sh yarn dev
    networks: 
      - wpp-network
    tty: true

Não me recordo se o caminho é /home/node/app/token ou simplesmente /home/token.
De toda forma também estamos vendo para implantar o firebase/mongo e também excluir essas no endpoint close.

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

2 participants