diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..9d9b90d --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,30 @@ +services: + therapy: + build: + context: . + dockerfile: Dockerfile + tty: true + stdin_open: true + environment: + # Example environment, please don't run in that way + - FLASK_THERAPY_SECRET="test1234" + - CACHE_TYPE=redis + - CACHE_REDIS_HOST=redis + - CACHE_REDIS_PORT=6379 + - CACHE_REDIS_DB=0 + depends_on: + - redis + container_name: therapy-app + restart: always + ports: + - "5000:5000" + + redis: + image: "redis:latest" + ports: + - "6379:6379" + command: redis-server + + + +