Comments (9)
Hi @ryuheechul. We'll add a possibility to work with override compose configs in the next release.
from dockstation.
Released into v1.3
from dockstation.
It doesn't work for me :(
When I create new project and select paths where exist docker-compose.yml and docker-compose.override.yml. Because my project can't be run without docker-compose.override.yml.
from dockstation.
Hi @moonion
Can you share your docker-compose.yml
and docker-compose.override.yml
configs ?
Also thanks for a bug with button layers...
from dockstation.
Also call docker-compose config
command into the directory with your configs and share screenshot. Thank you.
from dockstation.
hi @igor-lemon
I replaced /.../
and registry/
docker-compose.yml
version: '2'
services:
app:
backend:
links:
- db
environment:
- DB_DATABASE=test
- DB_HOST=db
- DB_USERNAME=test
- DB_PASSWORD=test
volumes:
- './data/uploads/images:/var/www/html/uploads/images'
- './data/uploads/staff/images:/var/www/html/uploads/staff/images'
- './data/uploads/videos:/var/www/html/uploads/videos'
db:
image: mariadb
environment:
- MYSQL_DATABASE=test
- MYSQL_USER=test
- MYSQL_PASSWORD=test
- MYSQL_ROOT_PASSWORD=test
volumes:
- './data/mysql:/var/lib/mysql'
nginx:
image: registry/docker/nginx
depends_on:
- app
- backend
volumes_from:
- 'app:ro'
- 'backend:ro'
docker-compose.override.yml
version: "2"
services:
app:
build:
context: ../app
dockerfile: Dockerfile.local
volumes:
- ../app/src:/usr/src/src
backend:
image: registry/test/backend
nginx:
ports:
- "80:80"
docker-compose config
services:
app:
build:
context: /.../test/app
dockerfile: Dockerfile.local
volumes:
- /.../test/app/src:/usr/src/src:rw
backend:
environment:
DB_DATABASE: test
DB_HOST: db
DB_PASSWORD: test
DB_USERNAME: test
image: registry/test/backend
links:
- db
volumes:
- /.../data/uploads/images:/var/www/html/uploads/images:rw
- /.../data/uploads/staff/images:/var/www/html/uploads/staff/images:rw
- /.../data/uploads/videos:/var/www/html/uploads/videos:rw
db:
environment:
MYSQL_DATABASE: test
MYSQL_PASSWORD: test
MYSQL_ROOT_PASSWORD: test
MYSQL_USER: test
image: mariadb
volumes:
- /.../data/mysql:/var/lib/mysql:rw
nginx:
depends_on:
- app
- backend
image: registry/docker/nginx
ports:
- 80:80/tcp
volumes_from:
- service:app:ro
- service:backend:ro
version: '2.0'
from dockstation.
@moonion So, are you sure that didn't forget to add override configs into project settings?
from dockstation.
Oh, sorry. You can't add override while your first file docker-compose not correct.
Your app
service isn't correct in the first config. You can try to assign build
or image
option to app
service for making the docker-compose.yml
file correctly. After that, you can add override configs from settings of the project.
Later we'll add possibility to assign override configs during adding a project.
from dockstation.
@igor-lemon thanks
from dockstation.
Related Issues (20)
- docker compose error HOT 2
- error all configured authentication methosds failed HOT 6
- Dockstation not working with colima HOT 4
- In Mac Ventura 13.0.1, unable to connect to docker-compose, getting docker-compose not installed, but docker compose is installed
- Add Flatpak / publish on Flathub? HOT 3
- Remote connect to ubuntu host fails
- cannot change socket location
- Allow project connection to Docker installation in WSL
- Configurable command for running docker via ssh on a remote host with non-standard environment
- Remote connection feature does not work
- Is dockstation abandoned? HOT 4
- Unable to connect via ssh to remote docker swarm (SSH key locked)
- docker station windows version 1.5 showing error HOT 2
- Docker compose error - Docker compose not installed... HOT 1
- Providers are not amused HOT 1
- Arch Linux HyprLand GTK-WARING
- sam
- Dockstation UI has Macos like windows decoration on Linux
- Linux docker host in VMWare Workstation - Docker Machine not installed
- Ubuntu 24 gconf2, gconf-service and libappindicator missing
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 dockstation.