docker-archive / cloud-integration-beta

Docker CLI with ACI integration (beta)
https://www.docker.com
32 stars 14 forks source link

Missing support to environment variables #11

Closed JorTurFer closed 4 years ago

JorTurFer commented 4 years ago

Hi, I don't know if this is a bug or a not supported feature but when I try to deploy an example compose file for a wordpress the system can't start. The problem is that the ACI doesn't set any environment variable:

image

I used this yml to deploy the aci:

version: '3.4'

services:
   db:
     image: mysql:5.7
     restart: always
     environment:
       MYSQL_ROOT_PASSWORD: somewordpress
       MYSQL_DATABASE: wordpress
       MYSQL_USER: wordpress
       MYSQL_PASSWORD: wordpress

   wordpress:
     depends_on:
       - db
     image: wordpress:latest
     ports:
       - "80:80"
     restart: always
     environment:
       WORDPRESS_DB_HOST: db:3306
       WORDPRESS_DB_USER: wordpress
       WORDPRESS_DB_PASSWORD: wordpress
       WORDPRESS_DB_NAME: wordpress

Is this feature in the roadmap?

gtardif commented 4 years ago

Thanks for your feedback, this was not supported first, but should be in the next release, available very soon.

JorTurFer commented 4 years ago

Hi @gtardif ! Thanks for the answer :) I close this issue.