Ticket: Issues with .env file in Docker setup
@elpibegeek Just created a ticket
Question: Hello guys. I am having some problem with the env file. Cannot make this file be recognized or not understanding where is the config route folder. Do you know how to find the .env file? Or am I doing something wrong with the configuration I made?
Attempted: I have sucessfully installed Postiz. The I've changed the volume "postiz-config: /config/" to "/home/ubuntu/postiz/config: /config/" on the docker file before making the "docker compose up -d" command and also created a file called "postiz.env" and placed all the strings for the API keys This method is not working as there all multiple api keys placed but the when I try to connect to them, prints me error
Working On: Docker compose
Using Postiz On: Ubuntu server on OCI Oracle Cloud
Take it from here @Postiz
Question: Hello guys. I am having some problem with the env file. Cannot make this file be recognized or not understanding where is the config route folder. Do you know how to find the .env file? Or am I doing something wrong with the configuration I made?
Attempted: I have sucessfully installed Postiz. The I've changed the volume "postiz-config: /config/" to "/home/ubuntu/postiz/config: /config/" on the docker file before making the "docker compose up -d" command and also created a file called "postiz.env" and placed all the strings for the API keys This method is not working as there all multiple api keys placed but the when I try to connect to them, prints me error
Working On: Docker compose
Using Postiz On: Ubuntu server on OCI Oracle Cloud
Take it from here @Postiz
5 Replies
Hey
the file should be "postiz.env"
Please could you post the error message you're getting
Hello James. Thanks for the reply!
This is the volumes part of my docker-compose.yml file:
volumes:
- /var/lib/docker/volumes/postiz_postiz-config/_data:/config/
- postiz-uploads:/uploads/
ports:
- 5000:5000
- 3008:3000
And the place where I am updating the "postiz.env" is: "/var/lib/docker/volumes/postiz_postiz-config/_data"
The error for example from Threads: "{
"error_message": "An unknown error has occurred.",
"error_code": 1
}"
And i.e for Twitter, please see the image
Could you show me the container logs please for Postiz?
@Postiz please help @elpibegeek
@elpibegeek ping?