Rename env files to match the service naming scheme.

This commit is contained in:
Patrick Jentsch 2019-09-06 14:23:58 +02:00
parent 94a1c61a0f
commit d87c424ee7
6 changed files with 6 additions and 23 deletions

4
.gitignore vendored
View File

@ -1,3 +1,3 @@
opaque_database_env db.env
opaque_env web.env
__pycache__ __pycache__

View File

@ -6,8 +6,8 @@ services:
- db - db
- redis - redis
env_file: env_file:
- opaque_database.env - db.env
- opaque.env - web.env
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque:development image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque:development
ports: ports:
- 5000:5000 - 5000:5000
@ -21,13 +21,13 @@ services:
daemon: daemon:
depends_on: depends_on:
- db - db
env_file: opaque_database.env env_file: db.env
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque_daemon:latest image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque_daemon:latest
restart: always restart: always
volumes: volumes:
- $HOME/.docker/config.json:/home/opaque_daemon/.docker/config.json - $HOME/.docker/config.json:/home/opaque_daemon/.docker/config.json
db: db:
env_file: opaque_database.env env_file: db.env
image: postgres:alpine image: postgres:alpine
restart: always restart: always
volumes: volumes:

View File

@ -1,14 +0,0 @@
### Flask ###
FLASK_CONFIG=development
# SECRET_KEY=
### Flask-Mail ###
MAIL_SERVER=smtp.gmail.com
MAIL_PORT=587
MAIL_USE_TLS=true
MAIL_USERNAME=dev.opaque@gmail.com
MAIL_PASSWORD=Opaque-dev1
MAIL_DEFAULT_SENDER=dev.opaque@gmail.com
### Opaque ###
OPAQUE_ADMIN=p.jentsch@uni-bielefeld.de

View File

@ -1,3 +0,0 @@
POSTGRES_DB_NAME=opaque
POSTGRES_USER=opaque
POSTGRES_PASSWORD=opaque