Skip to content

Instantly share code, notes, and snippets.

@IzzleNizzle
Last active January 1, 2024 11:25
Show Gist options
  • Save IzzleNizzle/5dafaa10e8054ce26f725d786cfacba2 to your computer and use it in GitHub Desktop.
Save IzzleNizzle/5dafaa10e8054ce26f725d786cfacba2 to your computer and use it in GitHub Desktop.
Uptime Kuma Docker Compose File
version: '3'
services:
uptime-kuma:
image: louislam/uptime-kuma:1.23.2
restart: always
ports:
- 3001:3001
volumes:
- uptime-kuma:/app/data
networks:
- app
postgres:
image: postgres
restart: always
volumes:
- database-data:/var/lib/postgresql/data
networks:
- app
environment:
POSTGRES_USER: postgres
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres
mongo:
image: mongo:6.0
volumes:
- mongodb:/data/db
networks:
- app
restart: unless-stopped
environment:
MONGO_INITDB_ROOT_USERNAME: testing
MONGO_INITDB_ROOT_PASSWORD: example123
volumes:
uptime-kuma:
database-data:
mongodb:
networks:
app:
@IzzleNizzle
Copy link
Author

A few attachments on the side for exploration purposes. Go ahead and nuke those if you don't want the db's on the side. They aren't used for the uptime app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment