From b8a6f6909037df988e938a1bf165f2e5d635d1cb Mon Sep 17 00:00:00 2001 From: Joachim Lusiardi Date: Sun, 28 Aug 2016 15:45:08 +0200 Subject: [PATCH] add gitattributes to handle line ending settings and expose ports on docker compose --- .gitattributes | 1 + docker-compose.yml | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1f1a821 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.sh text eol=lf diff --git a/docker-compose.yml b/docker-compose.yml index 8238774..1be2bbf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,11 +2,9 @@ version: '2' services: rollerverbrauch: build: . - volumes: - - ./compose_config/:/config environment: - config=/config/config.py - DATABASE_ENV_MYSQL_ROOT_PASSWORD=foobar123 - FLASK_CONFIG=testing ports: - - 5000:5000 + - 127.0.0.1:5000:5000