mirror of
https://github.com/docker/compose.git
synced 2025-07-24 22:24:41 +02:00
Add note about postgres image settings
This commit is contained in:
parent
e34b433d93
commit
2883b5be6b
@ -65,6 +65,8 @@ First thing we need to do is set up the database connection. Replace the `DATABA
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
These settings are determined by the [orchardup/postgresql](https://github.com/orchardup/docker-postgresql) Docker image we are using.
|
||||||
|
|
||||||
Then, run `fig up`:
|
Then, run `fig up`:
|
||||||
|
|
||||||
Recreating myapp_db_1...
|
Recreating myapp_db_1...
|
||||||
@ -84,7 +86,7 @@ Then, run `fig up`:
|
|||||||
|
|
||||||
And your Django app should be running at localhost:3000 (or localdocker:3000 if you're using docker-osx).
|
And your Django app should be running at localhost:3000 (or localdocker:3000 if you're using docker-osx).
|
||||||
|
|
||||||
You can also run management commands with Docker. To set up your database, for example, run `fig up` and in other terminal run:
|
You can also run management commands with Docker. To set up your database, for example, run `fig up` and in another terminal run:
|
||||||
|
|
||||||
$ fig run web python manage.py syncdb
|
$ fig run web python manage.py syncdb
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user