feat: uffizzi integration
parent
0cb14f3f6c
commit
0e0e5700f2
|
@ -0,0 +1,3 @@
|
|||
FROM postgres:12-alpine
|
||||
|
||||
COPY ./sql/schema.postgresql.sql /docker-entrypoint-initdb.d/schema.postgresql.sql
|
|
@ -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…
Reference in New Issue