Skip to content

Instantly share code, notes, and snippets.

@thapakazi
Last active August 13, 2024 13:17
Show Gist options
  • Save thapakazi/a96ce649f5ba429f7fd0ad0de8d5dac5 to your computer and use it in GitHub Desktop.
Save thapakazi/a96ce649f5ba429f7fd0ad0de8d5dac5 to your computer and use it in GitHub Desktop.
onetime secret docker compose minimal yaml
services:
app:
image: onetimesecret/onetimesecret:latest
container_name: onetime-app
depends_on:
- redis
environment:
HOST: "localhost:1234"
SSL: false
REDIS_URL: "redis://@redis:6379/0"
#ONETIME_DEBUG: true
ports:
- 1234:3000
redis:
image: redis:alpine
container_name: onetime-redis
# ports:
# - 6379:6379
volumes:
- redis-data:/data
volumes:
redis-data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment