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