Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Missing support to environment variables #11

Closed
JorTurFer opened this issue Jun 29, 2020 · 2 comments
Closed

Missing support to environment variables #11

JorTurFer opened this issue Jun 29, 2020 · 2 comments
Assignees

Comments

@JorTurFer
Copy link

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?

@rumpl rumpl self-assigned this Jul 3, 2020
@gtardif gtardif self-assigned this Jul 7, 2020
@gtardif
Copy link
Collaborator

gtardif commented Jul 7, 2020

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

@JorTurFer
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants