Comments (4)
This is a Docker networking issue, not particularly an issue with this repo... but I think Docker-Compose v3 has changed networking a bit since it was written here and the docker-compose.yml file should probably specify container networks instead of leaving them out.
As you probably know alredy, --network host
runs containers on your primary network interface and as such exposes all container ports locally so that you don't have to use -p
. Can't say I've tested this stack with that configuration, generally host network should be avoided.
If you'd like to share your modified docker-compose.yml file I might be able to help you get it working with Nginx 👍
from dockeryourxyzzy.
That would be awesome! Although I just used nginx as an example. I'm trying to get a Cards server up and running for a game with friends. I'm going to run it as a on-demand server only and it would be really nice to have it dockerized and deployable quickly regardless of future breaking changes to Maven, Tomcat, and the rest.
I was passing command-line arguments instead of customizing docker-compose.yml. Would that mean docker-compose.yml overrode my command line arguments?
I suppose if the default docker network is reachable via my regular network I could just add it to my router's route table and be able to test with the default recommended networking settings, but host networking sounded like it would be easier to troubleshoot and get up and running.
Sorry, I know I'm asking really basic questions. Thank you for helping!
from dockeryourxyzzy.
I was passing command-line arguments instead of customizing docker-compose.yml. Would that mean docker-compose.yml overrode my command line arguments?
Correct. If you specify command:
in docker-compose.yml, or if you add commands to docker run ...
in terminal, it will override CMD
that is baked in to the Dockerfile. You can do it, just make sure you pass the entire command.
If you want to quickly make this accessible to your friends without adding exceptions to your router firewall, check out https://ngrok.com/ - it's a tunnel-as-a-service, and it even provides SSL certs. There's a containerized version at https://github.com/wernight/docker-ngrok.
I'll try and get an example compose for you, sit tight...
from dockeryourxyzzy.
Ok, pushed some updates to master. Check out the README and try the "Run with Docker-Compose" section, and make sure your docker-compose.yml file specifies emcniece/dockeryourxyzzy:3
or that you run docker pull emcniece/dockeryourxyzzy:latest
.
from dockeryourxyzzy.
Related Issues (12)
- Unable to use locally built image HOT 21
- "latest, run, x, x-run" does not work on Docker Synology HOT 1
- Docker Image does not work? HOT 7
- Docker image is broken in multiple ways HOT 4
- Possible to change the base_url HOT 2
- unable to run with overrides HOT 7
- Not clear how to add card databases to docker image HOT 6
- Build faillure HOT 10
- pyx volume empty, override properties not used. HOT 5
- Adding custom cards. HOT 3
- Does not work when used with caprover HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockeryourxyzzy.