-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Official docker image #148
Comments
Thats version 1 though. |
Building the docker image and the docker compose file to bring up both containers is pretty easy. I have a prototype working (I will share it soon) but the problem I've discovered is that the -setup command wants a connection to the db so that it can write the default user directly to the DB... if there was a way to create a file with the username, email, name and password that would then be loaded into the DB when the container starts up making single docker compose file would be trivial. Currently I created the semaphore container. Start the mysql with a volume mount to store the db data then start the semaphore container and override the run command to execute the setup, then I can use the standard docker compose to get the system up |
here is a link to my docker wrapper: |
@dsmorse: Have you considered using a flat file and redirecting it into 'semaphore -setup'? If you save the following code into /projects/semaphore-setup.stdin:
Then run it like this: |
Excellent idea... I have a working docker image now at: https://hub.docker.com/r/dsmorse/semaphore-docker/ and the docker compose file in in the original github link |
OK I guess my docker wrapper is not yet ready for prime time... While it fires up OK it can't clone from a repo... I'll be working on it. |
I've done my take on it. https://github.com/goozbach/semaphore/tree/dockerfiles/Deploy I've got an issue with the SSL termination using the Nginx proxy (it works but doesn't update the actual run). |
Figured out the websockets proxy issue, my pull request is #178 |
There's an official docker image as of 2021, but I have no idea how to make it run. |
Docker compose example:
|
Try specifying a database version below MariaDB 10.6. There seems to be a breaking bug in 10.6. See bug #681 |
Docker Compose Example to get around bug #681 Note: Need to use 10.4 until the bug is fixed.
|
If there's an official docker image, user can try ansible-semaphore more easily.
The text was updated successfully, but these errors were encountered: