File tree Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 1
- # Toggle for server configuration in development when using Docker.
2
- export DEV_DOCKER = 1
3
-
4
1
# Location of the *postgres* database. For example, if you have created a
5
2
# blank database locally named `cargo_registry`, this would be
6
3
# `postgres://postgres@localhost/cargo_registry`.
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ services:
15
15
context : .
16
16
dockerfile : backend.Dockerfile
17
17
environment :
18
+ DEV_DOCKER : " true"
18
19
DATABASE_URL : postgres://postgres:password@postgres/cargo_registry
19
20
SESSION_KEY : badkeyabcdefghijklmnopqrstuvwxyzabcdef
20
21
GIT_REPO_URL : file://./tmp/index-bare
Original file line number Diff line number Diff line change @@ -513,9 +513,6 @@ one go:
513
513
docker-compose up -d
514
514
```
515
515
516
- > **Note:** set `DEV_DOCKER=1` in a `.env` or `docker-compose.override.yml`
517
- file when working with Docker in development.
518
-
519
516
The Compose file is filled out with a sane set of defaults that should Just
520
517
Work™ out of the box without any modification. Individual settings can be
521
518
overridden by creating a `docker-compose.override.yml` with the updated config.
@@ -529,7 +526,6 @@ services:
529
526
environment:
530
527
GH_CLIENT_ID: blahblah_ID
531
528
GH_CLIENT_SECRET: blahblah_secret
532
- DEV_DOCKER: 1
533
529
```
534
530
535
531
These environment variables can also be defined in a local ` .env ` file, see ` .env.sample `
You can’t perform that action at this time.
0 commit comments