The Contemplation Machine is a mindfulness application designed to facilitate deep contemplation through structured exposure to meaningful ideas. This Docker image provides a convenient way to run the complete application without setting up a development environment.
# Pull the image
docker pull contemplationmachine/app:latest
# Create a directory for persistent data
mkdir -p ~/contemplation-data
# Run the container (default port 8088)
docker run -d \
--name contemplation-machine \
-p 8088:3001 \
-v ~/contemplation-data:/app/data \
contemplationmachine/app:latest
Access the application at http://localhost:8088
The following environment variables can be configured:
| Variable | Description | Default |
|---|---|---|
| OPENAI_API_KEY | Your OpenAI API key for text-to-speech | None |
| ELEVENLABS_API_KEY | Your ElevenLabs API key for text-to-speech | None |
Create a .env file with your API keys and mount it:
# Create .env file
cat > ~/contemplation-env << EOF
OPENAI_API_KEY=your_openai_key_here
ELEVENLABS_API_KEY=your_elevenlabs_key_here
EOF
# Run with API keys configured
docker run -d \
--name contemplation-machine \
-p 8088:3001 \
-v ~/contemplation-data:/app/data \
-v ~/contemplation-env:/app/.env \
contemplationmachine/app:latest
The container internally runs on port 3001, but you can map it to any port on your host:
# Map to port 9000 on your host
docker run -d \
--name contemplation-machine \
-p 9000:3001 \
-v ~/contemplation-data:/app/data \
contemplationmachine/app:latest
Access the application at http://localhost:9000
The container stores all user data in /app/data. To preserve your settings, presets, and custom meditations between container restarts, mount this directory as shown in the examples above.
To use with docker-compose:
version: '3.8'
services:
contemplation-machine:
image: contemplationmachine/app:latest
ports:
- "8088:3001"
volumes:
- ./data:/app/data
- ./.env:/app/.env # Optional: Mount your env file
restart: unless-stopped
This image is licensed under the MIT License.
Content type
Image
Digest
sha256:2c40305e6…
Size
90.3 MB
Last updated
over 1 year ago
docker pull awittmann386/contemplation-machine