Last active
December 24, 2019 04:41
-
-
Save guilhermewebdev/b65258e3041da870b4e2b54bb1a3b535 to your computer and use it in GitHub Desktop.
Arquivo do Docker Compose do projeto exemplo de blog.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.7" | |
services: | |
api: | |
build: ./server/api/ | |
command: ./manage.py runserver 0.0.0.0:8000 | |
volumes: | |
- ./server/api:/code/ | |
ports: | |
- 8000:8000 | |
db: | |
image: postgres | |
ports: | |
- 5432:5432 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment