Skip to content

Problems with deploying with docker #170

Answered by SuddenDev
SuddenDev asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, so I did manage to get everything working with Docker. I did already dip my toe into docker-compose, so I think it will follow, but for now I'm just gonna use MongoDB Atlas.

Like described before, the reason it did not work was, that I had to supply the final URL to the payload.config file without hardcoding it in. Using the method bellow works for me and using it dynamic with Docker & Gitlab CI/CD. To make it easier for people to also use docker with the gitlab-ci (or maybe github actions, or any other CI tool) here's the run down:

1. Push your code gitlab (if not already done)

2. (Optional: If you want to set the variables in the .gitlab-ci.yml file, you can skip this)
Go to your…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@jmikrut
Comment options

@SuddenDev
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by SuddenDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants