Fix empty images section if no images + Remove postgres port

This commit is contained in:
Ahmed Al-Taiar
2024-10-17 20:46:34 -04:00
parent 7973663b2a
commit cbf75acbeb
3 changed files with 21 additions and 22 deletions

View File

@ -9,7 +9,7 @@ services:
- API_PROXY_TARGET=http://localhost:8911
- MAX_HTTP_CONNECTIONS_PER_MINUTE=60
- SESSION_SECRET=super_secret_session_key_change_me_in_production_please
- DATABASE_URL=postgresql://redwood:changeme@db:5432/portfolio
- DATABASE_URL=postgresql://redwood:changeme@db/portfolio
- FIRST_NAME=first name # Your first name
- LAST_NAME=lastname # Your last name
- SMTP_HOST=smtp.example.com
@ -46,8 +46,6 @@ services:
- POSTGRES_USER=redwood
- POSTGRES_PASSWORD=changeme
- POSTGRES_DB=portfolio
ports:
- 5432:5432
volumes:
- postgres:/var/lib/postgresql/data