-
-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing Docker Dev Environment #456
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the time to fix the docker dev env! Left some small comments.
docker/Dockerfile.dev
Outdated
|
||
RUN apk add --no-cache libc6-compat make g++ py3-pip linux-headers | ||
ENV PUPPETEER_SKIP_DOWNLOAD true | ||
FROM node:21-alpine AS base |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "as base" here is not needed.
environment: | ||
MEILI_ADDR: http://meilisearch:7700 | ||
DATA_DIR: /data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think those are still needed (similar to those of the workers)
MEILI_ADDR: http://meilisearch:7700 | ||
DATA_DIR: /data | ||
env_file: | ||
- .env # Automatically load all variables from this file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to add a .env
, let's add a .env.sample
(even if it's empty) in the directory so that people can get it up and running quickly.
2f62d53
to
82f9aaf
Compare
82f9aaf
to
d490786
Compare
Removed the BASE and introduced an .env.sample for configuration recommendation |
Thanks @CrypticC3s4r! |
I had issues running the Docker development environment without first setting up a local development environment.
And put the Environment variables into a seperate .env file