mirror of
https://git.mirrors.martin98.com/https://github.com/danielgatis/rembg
synced 2025-04-18 11:49:48 +08:00
add compose file (#612)
This commit is contained in:
parent
2e23bab4fa
commit
d98520ef02
@ -7,3 +7,4 @@
|
||||
!requirements-gpu.txt
|
||||
!versioneer.py
|
||||
!README.md
|
||||
.env
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,6 +9,7 @@ dist/
|
||||
__pycache__/
|
||||
*.so
|
||||
*~≈
|
||||
.env
|
||||
.envrc
|
||||
.python-version
|
||||
.idea
|
||||
|
15
docker-compose.yml
Normal file
15
docker-compose.yml
Normal file
@ -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'
|
Loading…
x
Reference in New Issue
Block a user