Merge pull request #37 from krumIO/configuration/database-env

This commit is contained in:
Peer Richelsen 2021-11-04 23:29:26 +00:00 committed by GitHub
commit fe72d295d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 1 deletions

View File

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# .env file
.env

View File

@ -30,7 +30,7 @@ Make sure you have `docker` & `docker-compose` installed on the server / system.
cd calendso-docker cd calendso-docker
``` ```
3. Update `.env` if needed 3. Rename `.env.example` to `.env` and update `.env` if needed.
4. Build and start calendso 4. Build and start calendso

View File

@ -16,6 +16,8 @@ services:
- 3000:3000 - 3000:3000
- 5555:5555 - 5555:5555
env_file: .env env_file: .env
environment:
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
depends_on: depends_on:
- db - db
volumes: volumes: