Skip to content

Commit

Permalink
Improve documentation of environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
foodelevator committed Mar 27, 2024
1 parent a1398b0 commit 3bd380d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ services:
env_file: .env
init: true
environment:
- APP_ENV=development
- APP_KEY=12345678901234567890abcdefabcdea
- APP_DEBUG=true
- APP_LOG_LEVEL=debug
- APP_URL=http://localhost:8000/
- DB_CONNECTION=pgsql
- DB_HOST=db
- DB_DATABASE=skywhale
Expand All @@ -14,6 +19,7 @@ services:
- LOGIN_API_URL=http://login:7002
- LOGIN_FRONTEND_URL=http://localhost:7002
- PLS_API_URL=http://login:7001/api
- HODIS_API_URL=https://hodis.datasektionen.se
depends_on:
db:
condition: service_healthy
Expand Down
9 changes: 5 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,20 @@ DB_USERNAME=
DB_PASSWORD=
LOGIN_API_KEY=
LOGIN_API_URL=https://login2.datasektionen.se
LOGIN_FRONTEND_URL=https://login2.datasektionen.se
PLS_API_URL=http://pls.froyo.datasektionen.se/api
LOGIN_API_URL=https://login.datasektionen.se
LOGIN_FRONTEND_URL=https://login.datasektionen.se
PLS_API_URL=http://pls.datasektionen.se/api
ZFINGER_API_URL=https://zfinger.datasektionen.se
SPAM_API_KEY=
SPAM_API_URL=https://spam.datasektionen.se/api/sendmail
HODIS_API_URL=https://hodis.datasektionen.se
```

## Roadmap
Random features are implemented at a random speed. Post an [issue](https://github.com/datasektionen/skywhale/issues), and maybe it will be implemented. One day.

## Installation and setup
`docker compose watch`
`touch .env; docker compose watch`

If you want to run this without docker, make sure you install composer version 1 (not 2, which is the latest at the moment).

Expand Down

0 comments on commit 3bd380d

Please sign in to comment.