mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2025-09-18 05:29:37 +08:00
Add in missing docker-compose.yml file
This commit is contained in:
parent
bdfae12aea
commit
455d89fa4a
2 changed files with 12 additions and 2 deletions
|
@ -28,5 +28,3 @@ services:
|
|||
- INBUCKET_STORAGE_TYPE=memory
|
||||
- INBUCKET_STORAGE_MAILBOXMSGCAP=2000
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
|
|
12
docker-compose.yml
Normal file
12
docker-compose.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
services:
|
||||
# API
|
||||
django:
|
||||
env_file: .env
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: git.06222001.xyz/keannu125/drf_template:latest
|
||||
ports:
|
||||
- "${BACKEND_PORT}:8000"
|
||||
environment:
|
||||
- RUN_TYPE=api
|
Loading…
Add table
Add a link
Reference in a new issue