Skip to content
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

Docker domain env #109

Closed
rafalohaki opened this issue Jan 4, 2024 · 6 comments
Closed

Docker domain env #109

rafalohaki opened this issue Jan 4, 2024 · 6 comments

Comments

@rafalohaki
Copy link

i did uncommented
#DOMAIN=
to
DOMAIN=example.wpwdw.com

but i get error after running a container

Make a DOMAIN env. variable & set it to your domain!
    (Ex; DOMAIN=www.yourdomain.com)

changed name of opensearch.xml too

@TEMtheLEM
Copy link
Contributor

Are you using Docker compose, or are you running the container manually?

@rafalohaki
Copy link
Author

rafalohaki commented Jan 4, 2024

im building it from

docker build -t araasearch .

then running a container of this image

@TEMtheLEM
Copy link
Contributor

If you're running the container by doing docker run, be sure to pass the argument --env-file /path/to/.env and expose the port by doing -p <enter port here>:<enter port here>.

@TEMtheLEM
Copy link
Contributor

An example; docker run --env-file ./.env -p 8000:8000 araa-search

@rafalohaki
Copy link
Author

thanks, its working:
https://search.wpme.pl/

@amogusussy
Copy link
Contributor

@Extravi Can you update the README.md file?

@Extravi Extravi closed this as completed Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants