c196445e61
* add support for setting db_url * fix tests * add db_username/password env variables * init db if super user doesn't exist * fix tests * fix tests * set SQLite default DB_URL * don't run tests on draft PRs * add lint/black tests * add test-all * spell check settings * black/flake8 * check format fail * new badges * rename workflow * fix formatting * remove white-space * test connection arguments for pg * format * add new values to template * format * remove old script * monkeypatch test db * working docker-compose for postgres * update docs * test pg workflow * format * add driver * install w/ poetry * setup container * change image * set database to localhost * update tests * set url * fix url path * disable cache * database init * bust cache * get by name Co-authored-by: hay-kot <hay-kot@pm.me>
24 lines
545 B
YAML
24 lines
545 B
YAML
version: "3.1"
|
|
services:
|
|
mealie:
|
|
build:
|
|
context: ./
|
|
dockerfile: Dockerfile
|
|
container_name: mealie
|
|
restart: always
|
|
ports:
|
|
- 9090:80
|
|
environment:
|
|
DB_ENGINE: postgres # Optional: 'sqlite', 'postgres'
|
|
POSTGRES_USER: mealie
|
|
POSTGRES_PASSWORD: mealie
|
|
POSTGRES_SERVER: postgres
|
|
POSTGRES_PORT: 5432
|
|
POSTGRES_DB: mealie
|
|
postgres:
|
|
container_name: postgres
|
|
image: postgres
|
|
restart: always
|
|
environment:
|
|
POSTGRES_PASSWORD: mealie
|
|
POSTGRES_USER: mealie
|