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

Create a docker image from an official Styx release. #366

Merged
merged 4 commits into from
Mar 6, 2019

Conversation

mikkokar
Copy link
Contributor

@mikkokar mikkokar commented Dec 21, 2018

This PR adds a "public" docker image built from an official Styx release. We could add this to a hub.docker.com. Going forward the docker build should be automated as a part of release process. Also there is a separate docker file for the development version. But hey, this is the first step!

Also need to think if a separate repository is better for the public docker file.

Build instructions:

$ cd docker
$ docker build -t styx .

&& mv ${BASENAME} styx \
&& rm styx.zip

EXPOSE 8080 8443 9000
Copy link
Contributor

@dvlato dvlato Dec 21, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a future enhancement, we might want to expose the JMX port as well (it's not exposed in the init script).

@@ -0,0 +1,12 @@
# See origins/origins-default.yaml for explanation of config format
---
- id: "app"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are missing some instructions on how to use and configure the Docker image.

# Set Netty leak detection level
# JAVA_OPTS="$JAVA_OPTS -Dio.netty.leakDetectionLevel=advanced"

# Enable remote debugging
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented out config which doesn't need to be documented.

@dvlato dvlato merged commit 717fe4c into ExpediaGroup:master Mar 6, 2019
@mikkokar mikkokar deleted the public-docker-image branch April 1, 2019 09:04
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

Successfully merging this pull request may close these issues.

3 participants