added vars;

fix docker-compose.yml;
This commit is contained in:
Marco Zeisler 2021-05-04 19:37:58 +02:00
parent 560c688817
commit 6abe9ebc35
2 changed files with 7 additions and 5 deletions

8
.env
View File

@ -1,4 +1,10 @@
TWITTER_API_KEY = 5eQwRc16aXnLwDYrLkxQHbcRS TWITTER_API_KEY = 5eQwRc16aXnLwDYrLkxQHbcRS
TWITTER_API_SECRET = LUpU222xtAc92RKQEP3bMqrzTApvJTR6JVOOm4Uxx9DvnaOLOQ TWITTER_API_SECRET = LUpU222xtAc92RKQEP3bMqrzTApvJTR6JVOOm4Uxx9DvnaOLOQ
TWITTER_ACCESS_TOKEN = 1386734481734787073-Xt0CUL467DJJUrVX3oPxAWVFbZB2A8 TWITTER_ACCESS_TOKEN = 1386734481734787073-Xt0CUL467DJJUrVX3oPxAWVFbZB2A8
TWITTER_ACCESS_TOKEN_SECRET = CgRPGogf8XhZ3nsLkaEYvvjddBLGTPAeieM9UVsusQYMS TWITTER_ACCESS_TOKEN_SECRET = CgRPGogf8XhZ3nsLkaEYvvjddBLGTPAeieM9UVsusQYMS
BE_HOST=0.0.0.0
BE_PORT=8000
FE_HOST=127.0.0.1
FE_PORT=4200

View File

@ -10,10 +10,6 @@ services:
build: build:
context: ./backend context: ./backend
dockerfile: ./Dockerfile dockerfile: ./Dockerfile
command:
python manage.py makemigrations app_be; \
python manage.py migrate; \
python manage.py runserver 0.0.0.0:8000 --no-reload;
env_file: env_file:
- .env - .env
volumes: volumes: