Skip to content

Commit

Permalink
fix(docker compose): add build section and container name
Browse files Browse the repository at this point in the history
  • Loading branch information
abolfazl8131 committed Dec 1, 2024
1 parent 82bb2b5 commit 8789d7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/compose_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class Volume(BaseModel):

class Service(BaseModel):
image:str = 'nginx'
container_name:str = 'web_server'
build: str = False
version:str = 'latest'
volumes:List[Volume]
depends_on:List[str]
Expand Down

0 comments on commit 8789d7f

Please sign in to comment.