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

Issue with .env file when in container mode. #1

Open
jdtempleton opened this issue May 22, 2019 · 1 comment
Open

Issue with .env file when in container mode. #1

jdtempleton opened this issue May 22, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jdtempleton
Copy link
Owner

Seems to be an issue with the generated .env file when running in container mode. Seems to be related to the export variables.

@jdtempleton jdtempleton added the bug Something isn't working label May 22, 2019
@jdtempleton jdtempleton self-assigned this May 22, 2019
@kgulle
Copy link

kgulle commented Feb 17, 2020

Are you ready to start? [y/N] n
node1@node1:~/test6/docker-traefik$ bash bin/start.sh

Hello, this script is used for starting a Traefik Service in a Docker Environment,
either using Docker Swarm Mode or just as a Docker Container. It is going to take
you through some prompts to make sure to use the properly configuration for your
environment and also set up some files for your Docker Service.

Are you ready to start? [y/N] y

Awesome! Next, we will determine if you want to run this in Docker Swarm Mode
or as just a Docker Container. At any time during this, you can always Press
Ctrl-C to stop this script.

Do you want to run this in Docker Swarm Mode? [y/N] n
What do you want to call your Docker Container? test1

Okay, now we need to gather a little bit more information before we can start
the Traefik Docker Service.

First, we need to know your domain name. An example would be example.com. In order
for Traefik to work properly, you will need to make sure you have a DNS record
pointing your domain to the public IP address of the server that you are running
Traefik on. This setup also will have the Traefik Dashboard setup to run at
traefik.domain.tld, so make sure if you want the dashboard functionality to have
a DNS record for the subdomain traefik.domain.tld.

What is your domain name? du.edu
What is your email address? [email protected]
ERROR: In file ./.env: environment variable name 'export DOMAIN' may not contain whitespace.

.env file

DOCKER_START_COMMAND="docker-compose --file docker-compose.container.yml up -d"
DOCKER_STOP_COMMAND="docker-compose --file docker-compose.container.yml down"
COMPOSE_FILE="docker-compose.container.yml"
SERVICE_NAME=test1
export DOMAIN=du.edu
export [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants