TwentyT
Twenty16mo ago
3 replies
hoang2601

Build with only one docker file

I haved copy dockerfile from /packages/twenty/docker/twenty/Dockerfile to root and build image from it.
When I start image, the container log that can't read the env.
I already have and .env.example at root like this
SERVER_URL="http://localhost:3020" REACT_APP_SERVER_BASE_URL="http://localhost:3020" PG_DATABASE_HOST="http://localhost" PG_DATABASE_PORT=5432 ACCESS_TOKEN_SECRET=V/fFtZq197UdE+5VeiLtvyFsba3ZhwhG6NZDjVKA/JA= LOGIN_TOKEN_SECRET=zU1VxWkNxzd2yqEvlR0STy3G4uUE2KqAWEuBna8kMoo= REFRESH_TOKEN_SECRET=DZAs7G7q3WEf8dYuqlnnl5A1gZAdsdsaEmFs26dLtPM= FILE_TOKEN_SECRET=ViQpyQvRpiCUEJ+WXuOtxfKRjQsBgyyrOITFgPgyl8A= SIGN_IN_PREFILLED="false" STORAGE_TYPE="local" PG_DATABASE_URL="postgres://postgres:abc@123@localhost:5432/twenty" REDIS_HOST="redis" REDIS_PORT="6379"
Screenshot_2024-10-16_at_15.05.02.png
Was this page helpful?