Skip to content

Commit

Permalink
add compose file (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
nett00n authored Mar 24, 2024
1 parent 2e23bab commit d98520e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
!requirements-gpu.txt
!versioneer.py
!README.md
.env
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dist/
__pycache__/
*.so
*~≈
.env
.envrc
.python-version
.idea
Expand Down
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
# You can set variables in .env file in root folder
#
# PUBLIC_PORT=7000:7000
# REPLICAS_COUNT=1

services:
app:
build: .
command: ["s"]
deploy:
replicas: ${REPLICAS_COUNT:-1}
ports:
- ${PUBLIC_PORT:-7000:7000}
version: '3'

0 comments on commit d98520e

Please sign in to comment.