Skip to content

Commit

Permalink
Update docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
yaozhiwang committed Apr 24, 2024
1 parent be7f69f commit 2bb05ce
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ services:
umami:
image: ghcr.io/umami-software/umami:postgresql-latest
ports:
- "3000:3000"
- "6000:3000"
environment:
DATABASE_URL: postgresql://umami:umami@db:5432/umami
DATABASE_TYPE: postgresql
APP_SECRET: replace-me-with-a-random-string
APP_SECRET: ${APP_SECRET}
IGNORE_IP: ${IGNORE_IP}
IGNORE_HOSTNAME: ${IGNORE_HOSTNAME}
depends_on:
db:
condition: service_healthy
Expand All @@ -34,3 +36,8 @@ services:
retries: 5
volumes:
umami-db-data:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/data/umami/postgresql/data'

0 comments on commit 2bb05ce

Please sign in to comment.