-
Notifications
You must be signed in to change notification settings - Fork 10
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
Dockerise everything! #89
Conversation
At this stage, the application should be deployable with a simple docker-compose up
Opinions needed on:
|
does not work on my machine 👎 More seriously, I don't know what to make of that, beacuse all the services have a I went to download the latest version of docker-compose, and (with version: 3.9) I still got the same issue of In case exact info is required:
|
Verbose flag not required
Context seems to be required on Linux machines but not Windows ones? Whatever.
@152334H Seems like the context was required. Could you pull and try again? |
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.
good shit
Should an admin account be automatically generated on first deployment?
I want to say yes, but this kind of thing has been historically considered as a bug on other CTF platforms (like CTFd <= 2.1.5).
You could add a mandatory env var for admin credentials, or maybe generate a randomized password to be displayed when building the container?
Is docker going to be the preferred way for deployment going forward?
The lead developer for this project says: at least not for IRS-cybersec. 🤷
Docker is definitely more simple for me, but I am not a web-developer anyway.
I think that would be the best; perhaps on first run rather than building. I think generation on build would mean that if the image is hosted on a registry server, all pulled images will have the same values. |
also i kinda annoyed everything breaks when i switch from windows to linux so the dockerignore should fix this
@Tkaixiang fyi i changed some stuff so you might want to stash your changes b4 you pull |
This is tracked using PR #93 |
Secret and salt generation tracked in #94 |
Update all them packages
Looks good to me |
API for local deployments will now go through the client nginx instance to aid deployment
Linux does not like underscores
Test ResultsBare Metal
Notes
Local Docker Compose (Windows)
Hosted Docker Compose (Ubuntu 20.04 (LTS) x64)
Notes
|
LGTM |
LGTM, great job 😄 ! |
This aims to simplify the deployment of this application through containerisation.