TwentyT
Twenty2y ago
3 replies
greg [iero]

Thanks @Freebios !

Thanks @Freebios !

Testing in Ubuntu env:

Installation went well. As this is a remote server I have to replace localhost by server name. So I stopped the docker and I got errors

iero@sgl:~/twenty$ docker-compose down
WARNING: The STORAGE_S3_REGION variable is not set. Defaulting to a blank string.
WARNING: The STORAGE_S3_NAME variable is not set. Defaulting to a blank string.
WARNING: The STORAGE_S3_ENDPOINT variable is not set. Defaulting to a blank string.
ERROR: The Compose file './docker-compose.yml' is invalid because:
'name' does not match any of the regexes: '^x-'

You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
services.server.environment.ENABLE_DB_MIGRATIONS contains true, which is an invalid type, it should be a string, number, or a null


So I added
version: "3.9"
in the docker compose, removed name and ENABLE_DB_MIGRATIONS lines.

I added FRONT_BASE_URL line in .env

And it works
Was this page helpful?