Skip to content
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

Services compatibility (docker-compose) #36

Closed
leokun opened this issue Feb 1, 2018 · 1 comment
Closed

Services compatibility (docker-compose) #36

leokun opened this issue Feb 1, 2018 · 1 comment

Comments

@leokun
Copy link

leokun commented Feb 1, 2018

Bonjour Luc :)

I recently discover you amazing tool, but it only works partially for me.
I am using docker-compose with version: '2' and 'services. But it doesn't take the DOMAIN_NAME from environment.

for exeample:
given

version: '2'

services:

  app:
    container_name: my_app
    image: 5.3.29-apache
    ports :
      - 80:80
    environment: 
     - DOMAIN_NAME=www.myapp.com

my hosts file will look like :

172.18.0.3 app.foldername_default 25e65f49.foldername_default foldername_app.foldername_default

Is there any solution to use the domainname env in this example and maybe take also the container_name ?

I tried to take a look at your code, but it's too complicated for me to fix it myself.

Merci beaucoup pour ton aide.
Léo

@leokun
Copy link
Author

leokun commented Feb 1, 2018

Sorry, I disn't saw the #32 ... you can forgot about my request ...

@leokun leokun closed this as completed Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant