update templates
This commit is contained in:
@@ -5,3 +5,21 @@ await utils.copyDir("./repo/packages/twenty-docker", "./code");
|
||||
|
||||
await utils.removeContainerNames("./code/docker-compose.yml");
|
||||
await utils.removePorts("./code/docker-compose.yml");
|
||||
|
||||
await utils.searchReplace(
|
||||
"./code/.env.example",
|
||||
"#REDIS_URL=redis://redis:6379",
|
||||
"REDIS_URL=redis://redis:6379"
|
||||
);
|
||||
|
||||
await utils.searchReplace(
|
||||
"./code/.env.example",
|
||||
"SERVER_URL=http://localhost:3000",
|
||||
"SERVER_URL=https://$(PRIMARY_DOMAIN)"
|
||||
);
|
||||
|
||||
await utils.searchReplace(
|
||||
"./code/.env.example",
|
||||
"# APP_SECRET=replace_me_with_a_random_string",
|
||||
"APP_SECRET=replace_me_with_a_random_string"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user