Merge pull request #37 from krumIO/configuration/database-env
This commit is contained in:
commit
fe72d295d1
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||||
|
|
||||||
|
# .env file
|
||||||
|
.env
|
@ -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
|
||||||
|
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user