mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 12:35:38 +01:00
feat: uffizzi integration
This commit is contained in:
parent
0cb14f3f6c
commit
0e0e5700f2
2 changed files with 45 additions and 0 deletions
3
uffizzi/DockerfileDB
Normal file
3
uffizzi/DockerfileDB
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
FROM postgres:12-alpine
|
||||||
|
|
||||||
|
COPY ./sql/schema.postgresql.sql /docker-entrypoint-initdb.d/schema.postgresql.sql
|
||||||
42
uffizzi/docker-compose.uffizzi.yml
Normal file
42
uffizzi/docker-compose.uffizzi.yml
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
version: '3'
|
||||||
|
|
||||||
|
x-uffizzi:
|
||||||
|
ingress:
|
||||||
|
service: umami
|
||||||
|
port: 3000
|
||||||
|
continuous_previews:
|
||||||
|
deploy_preview_when_pull_request_is_opened: true
|
||||||
|
delete_preview_when_pull_request_is_closed: true
|
||||||
|
share_to_github: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
umami:
|
||||||
|
build:
|
||||||
|
context: ./
|
||||||
|
dockerfile: ./Dockerfile
|
||||||
|
ports:
|
||||||
|
- "3000:3000"
|
||||||
|
environment:
|
||||||
|
DATABASE_URL: postgresql://umami:umami@localhost:5432/umami
|
||||||
|
DATABASE_TYPE: postgresql
|
||||||
|
HASH_SALT: replace-me-with-a-random-string
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
restart: always
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 500M
|
||||||
|
db:
|
||||||
|
build:
|
||||||
|
context: ./
|
||||||
|
dockerfile: ./uffizzi/DockerfileDB
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: umami
|
||||||
|
POSTGRES_USER: umami
|
||||||
|
POSTGRES_PASSWORD: umami
|
||||||
|
restart: always
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 500M
|
||||||
Loading…
Add table
Add a link
Reference in a new issue