add gitattributes to handle line ending settings and expose ports on docker compose

This commit is contained in:
Joachim Lusiardi 2016-08-28 15:45:08 +02:00
parent bb7c2780e8
commit b8a6f69090
2 changed files with 2 additions and 3 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.sh text eol=lf

View File

@ -2,11 +2,9 @@ version: '2'
services: services:
rollerverbrauch: rollerverbrauch:
build: . build: .
volumes:
- ./compose_config/:/config
environment: environment:
- config=/config/config.py - config=/config/config.py
- DATABASE_ENV_MYSQL_ROOT_PASSWORD=foobar123 - DATABASE_ENV_MYSQL_ROOT_PASSWORD=foobar123
- FLASK_CONFIG=testing - FLASK_CONFIG=testing
ports: ports:
- 5000:5000 - 127.0.0.1:5000:5000