@@ -7,3 +7,4 @@
!requirements-gpu.txt
!versioneer.py
!README.md
+.env
@@ -9,6 +9,7 @@ dist/
__pycache__/
*.so
*~≈
.envrc
.python-version
.idea
@@ -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'