-
Notifications
You must be signed in to change notification settings - Fork 1
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
running multiple instances of GOST on 1 machine #4
Comments
One possible solution using docker tooling (docker-compose), see branch https://github.com/gost/docker-compose/tree/multiple_endpoints changes:
The startup.sh script sets the DASHBOARD_PORT variable (8080 for production, 8081 for test), and runs docker-compose up with the extra -p (Project) option. After running this script there are 2 instances of GOST running on port 8080 and 8081. Using a proxy server these ports can be mapped to a subdomain (for example prod.my-gost.com and test.my-gost.com). Result:
The instances of GOST are running in different networks: prod_default and test_default and they use different data volumes for storage: prod_postgis en test_postgis An instance can be shut down using:
|
another option is to make a copy of the docker-compose file in another folder |
Question: How can we run multiple instances of GOST on a single machine?
examples:
The text was updated successfully, but these errors were encountered: