mirror of
https://git.mirrors.martin98.com/https://github.com/danielgatis/rembg
synced 2025-07-31 00:11:59 +08:00
add compose file (#612)
This commit is contained in:
parent
2e23bab4fa
commit
d98520ef02
@ -7,3 +7,4 @@
|
|||||||
!requirements-gpu.txt
|
!requirements-gpu.txt
|
||||||
!versioneer.py
|
!versioneer.py
|
||||||
!README.md
|
!README.md
|
||||||
|
.env
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,6 +9,7 @@ dist/
|
|||||||
__pycache__/
|
__pycache__/
|
||||||
*.so
|
*.so
|
||||||
*~≈
|
*~≈
|
||||||
|
.env
|
||||||
.envrc
|
.envrc
|
||||||
.python-version
|
.python-version
|
||||||
.idea
|
.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