mirror of
https://github.com/altstackHQ/altstack-data.git
synced 2026-04-23 17:25:14 +02:00
30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
|
|
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
# 🚀 BUILT & MAINTAINED BY THE ALTSTACK
|
|
# 🌍 https://thealtstack.com
|
|
# 💡 Open-source deployment templates for modern self-hosting.
|
|
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
plausible:
|
|
image: plausible/analytics:latest
|
|
container_name: plausible
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8000:8000"
|
|
environment:
|
|
- DATABASE_URL=postgres://plausible:plausible@db:5432/plausible
|
|
- SECRET_KEY_BASE=replace-me-with-a-secure-random-string
|
|
|
|
db:
|
|
image: postgres:14-alpine
|
|
container_name: plausible-db
|
|
restart: unless-stopped
|
|
environment:
|
|
- POSTGRES_USER=plausible
|
|
- POSTGRES_PASSWORD=plausible
|
|
- POSTGRES_DB=plausible
|
|
|