Add files
This commit is contained in:
parent
70b5c28190
commit
3f59f61e88
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.env
|
||||||
|
data/
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "lighthouse-ci"]
|
||||||
|
path = lighthouse-ci
|
||||||
|
url = https://github.com/GoogleChrome/lighthouse-ci.git
|
33
docker-compose.yaml
Normal file
33
docker-compose.yaml
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
postgres:
|
||||||
|
image: postgres:14
|
||||||
|
environment:
|
||||||
|
- POSTGRES_USER=lhci
|
||||||
|
- POSTGRES_PASSWORD
|
||||||
|
- POSTGRES_DB=lhci
|
||||||
|
volumes:
|
||||||
|
- ./data/postgres:/var/lib/postgresql/data/
|
||||||
|
restart: always
|
||||||
|
healthcheck:
|
||||||
|
test: pg_isready -U lhci -d lhci
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
|
lhci:
|
||||||
|
#image: patrickhulce/lhci-server:latest
|
||||||
|
build: lighthouse-ci/docs/recipes/docker-server
|
||||||
|
restart: always
|
||||||
|
#command: "--storage.sqlDialect=postgres --storage.sqlConnectionUrl=postgres://lhci:$POSTGRES_PASSWORD@postgres/lhci"
|
||||||
|
volumes:
|
||||||
|
- ./data/lhci-server:/data
|
||||||
|
#- ./lighthouserc.json:/usr/src/lhci/lighthouserc.json
|
||||||
|
ports:
|
||||||
|
- 127.0.0.1:87:9001
|
||||||
|
environment:
|
||||||
|
- LHCI_STORAGE__STORAGE_METHOD=sql
|
||||||
|
- LHCI_STORAGE__SQL_DIALECT=postgres
|
||||||
|
- LHCI_STORAGE__SQL_CONNECTION_URL="postgres://lhci:$POSTGRES_PASSWORD@postgres/lhci"
|
||||||
|
- LHCI_STORAGE__SQL_CONNECTION_SSL=false
|
||||||
|
- LHCI_NO_LIGHTHOUSERC=true
|
1
lighthouse-ci
Submodule
1
lighthouse-ci
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 72270e7cfed4018c414b4dc5251d87fc35b5eae3
|
Loading…
Reference in New Issue
Block a user