Docs/installation guide (#727)

* docs(docs): 📝 Update v1.0.0 installation docs

* fix frontend build

Co-authored-by: Hayden <hay-kot@pm.me>
This commit is contained in:
Hayden
2021-10-07 11:13:05 -08:00
committed by GitHub
parent 2e9026f9ea
commit c16f07950f
12 changed files with 315 additions and 264 deletions

View File

@@ -0,0 +1,54 @@
# Installing with PostgreSQL
Postgres support was introduced in v0.5.0. At this point it should be used with caution and frequent backups.
**For Environmental Variable Configuration See:**
- [Frontend Configuration](/mealie/documentation/getting-started/installation/frontend-config/)
- [Backend Configuration](/mealie/documentation/getting-started/installation/backend-config/)
```yaml
---
version: "3.7"
services:
mealie-frontend:
image: hkotel/mealie:frontend-nightly
container_name: mealie-frontend
environment:
# Set Frontend ENV Variables Here
- ALLOW_SIGNUP=true
- API_URL=http://mealie-api:9000
restart: always
ports:
- "9925:3000"
mealie-api:
image: hkotel/mealie:api-nightly
container_name: mealie-api
volumes:
- ./data/:/app/data
environment:
# Set Backend ENV Variables Here
- PUID=1000
- PGID=1000
- TZ=America/Anchorage
- MAX_WORKERS=1
- WEB_CONCURRENCY=1
- BASE_URL=https://beta.mealie.io
# Database Settings
- DB_ENGINE=postgres
- POSTGRES_USER=mealie
- POSTGRES_PASSWORD=mealie
- POSTGRES_SERVER=postgres
- POSTGRES_PORT=5432
- POSTGRES_DB=mealie
restart: always
postgres:
container_name: postgres
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: mealie
POSTGRES_USER: mealie
```