ChatDev icon indicating copy to clipboard operation
ChatDev copied to clipboard

Introducing Docker Compose for Enhanced Development Experience

Open teamchong opened this issue 2 years ago • 6 comments

This pull request introduces Docker Compose to the existing Docker setup:

  • Added a docker-compose.yml file to simplify container orchestration and environment setup.
  • Ensured proper volume binding and environment variable management with Docker Compose.
  • Modified wiki.md to guide users on utilizing Docker Compose and the flexibility it offers, such as changing the default online_log/app.py.

This PR aim to further enhance the developer experience, making it easier for new users to get started.

2023-11-02 at 22 23 28 - Blue Starfish

Feedback and testing are welcome.

teamchong avatar Nov 03 '23 02:11 teamchong

Good changes, just a slight redundancy with the .env.sample. Just leave it as .env

this is a bad idea, most .gitignores should have .env by default. having .env.sample or even sample.env would be good to have, legit for the long run. When your running in production or development environments for teams and such.

Bioblaze avatar Dec 21 '23 22:12 Bioblaze

Good changes, just a slight redundancy with the .env.sample. Just leave it as .env

this is a bad idea, most .gitignores should have .env by default. having .env.sample or even sample.env would be good to have, legit for the long run. When your running in production or development environments for teams and such.

This is a good point, but I've never seen an env.sample or sample.env used personally. the environment can just be defined in the documentation

ManindraDeMel avatar Dec 23 '23 07:12 ManindraDeMel

Good changes, just a slight redundancy with the .env.sample. Just leave it as .env

this is a bad idea, most .gitignores should have .env by default. having .env.sample or even sample.env would be good to have, legit for the long run. When your running in production or development environments for teams and such.

This is a good point, but I've never seen an env.sample or sample.env used personally. the environment can just be defined in the documentation

Well this isn't for the actual environment its more for storage in the repo, and then we add the different .env production.env, etc into the gitignore.

This way we can just use cp example.env .env and we can put our envs in there, and not worry about it ever accidently getting pushed. Cause you know someone is going todo it. Hell we all have done it at 1 point or another.

Bioblaze avatar Dec 23 '23 08:12 Bioblaze

Good changes, just a slight redundancy with the .env.sample. Just leave it as .env

this is a bad idea, most .gitignores should have .env by default. having .env.sample or even sample.env would be good to have, legit for the long run. When your running in production or development environments for teams and such.

This is a good point, but I've never seen an env.sample or sample.env used personally. the environment can just be defined in the documentation

Well this isn't for the actual environment its more for storage in the repo, and then we add the different .env production.env, etc into the gitignore.

This way we can just use cp example.env .env and we can put our envs in there, and not worry about it ever accidently getting pushed. Cause you know someone is going todo it. Hell we all have done it at 1 point or another.

Yeah, alright sure! I don't really mind it's a minor thing.

ManindraDeMel avatar Dec 23 '23 18:12 ManindraDeMel

Good changes, just a slight redundancy with the .env.sample. Just leave it as .env

this is a bad idea, most .gitignores should have .env by default. having .env.sample or even sample.env would be good to have, legit for the long run. When your running in production or development environments for teams and such.

This is a good point, but I've never seen an env.sample or sample.env used personally. the environment can just be defined in the documentation

Laravel (docs) is a good example of .env.example (in their case) where the official instruction is to cp .env.example .env

cryptictech avatar Jan 02 '24 01:01 cryptictech

Please fix the conflicts

ManindraDeMel avatar Aug 28 '24 15:08 ManindraDeMel