Comments (6)
Hi, could you please provide me an example of docker-compose.yml file to reproduce the issue?
is this related to #50 ?
from docker-compose-ui.
In a way the it's related, but I'm not sure if it's completely related since the issue isn't that the volumes are being mounted wrong (like #50) its just that the wrong volume information isn't being updated, if that makes sense. As a result of #50 I decided to mount just the two volumes below. However they were both showing up as mounted. I'll try your fix to #50 and report back if it solves it. Thanks for the quick response.
nginx:
build: ./.docker/NGINX
image: nginx.company.org
container_name: company.org
restart: always
environment:
- VIRTUAL_HOST=company.org
- DB_PORT_3306_TCP_ADDR=172.17.0.1
- DB_ENV_MYSQL_USER=user
- DB_ENV_MYSQL_DATABASE=database
- DB_ENV_MYSQL_PASSWORD=password
ports:
- 80
volumes:
- ./code:/var/www/html/
- data:/var/www/data:Z```
from docker-compose-ui.
So I changed it to
- ${PWD}/code:/var/www/html/ - data:/var/www/data:Z
However, even though there is nothing in the compose file saying config.php if I push up on the docker-compose gui it only creates an empty config.php
directory (!) under /var/www/html. Even though there are files in /code. If I do it via the terminal it works fine. I'm just trying to figure out where it's pulling the config.php directive from since I've deleted it from the docker-compose.yml
from docker-compose-ui.
So I found something very odd. I wonder if it's an issue with the volume driver or something. I logged into the docker_compose_ui container and went to the directory containing my project repo. I opened the file in vim and it was displaying properly. However, when I ran cat
on the file, it was showing a very old version of the file, which corresponded to the wrong settings I was seeing. I'm not familiar to seeing this issue with other docker images, but wonder if it might be unrelated to the docker_compose_ui. You ever seen it before?
from docker-compose-ui.
So, for now what I did was actually just setup the python server from your docker file on my machine and run it that way. It bypasses all the path issues and file saving problems. It also has the benefit of being significantly faster. Conceptually I actually prefer this model as I'm hoping to use this to control my server running a number of different containers. If my docker controller is hosted on docker and docker is down I won't be able to utilize it and will lose most of the benefits of it. Obviously that's an individual choice, but I think for now I will go do this path and see how it goes.
Thanks so much for the awesome project. I had ideas of building an basic app to do essentially what this done. Glad to have been able to find this.
from docker-compose-ui.
I don't think I ever had this kind of issue..you can try to execute a docker-compose down
to remove previous container instances.
I'm not sure if this can help you...but I always put a slash character after the directory name, e.g.:
- ${PWD}/code/:/var/www/html/ - data/:/var/www/data/
thank you for your contribution
from docker-compose-ui.
Related Issues (20)
- How to access private Git repo? HOT 2
- Multiple Docker Engines HOT 1
- Question - Is this project right for me? HOT 2
- Problem with same name of parent directory HOT 1
- Add support for .yaml HOT 3
- Doesn't work on Red Hat Enterprise Linux Server 7.4 HOT 2
- Services: no containers found HOT 3
- [Enhancement] Edit docker-compose file for existing services HOT 7
- State of project not recognised if a folder has a hypenated name
- Very useful tool HOT 1
- docker-compose 3.7 HOT 2
- Bring specific container down that was started with scale
- Display service version
- Nested docker-compose.yml
- permissions security vulnerability HOT 1
- Project website URL on GitHub project doesn't work HOT 4
- HTTPS support?
- Support for armv7l
- Is the docker-compose-ui project dead? HOT 2
- python 3.9 support
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 docker-compose-ui.