Add example file for docker-compose
This commit is contained in:
21
docker-compose.example.yaml
Normal file
21
docker-compose.example.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
sshwifty:
|
||||
image: sshwifty:dev
|
||||
container_name: sshwifty
|
||||
user: "nobody:nobody"
|
||||
build: ./
|
||||
restart: always
|
||||
# environment:
|
||||
# - SSHWIFTY_SHAREDKEY=WEB_ACCESS_PASSWORD
|
||||
ports:
|
||||
- "127.0.0.1:8182:8182/tcp"
|
||||
stdin_open: true
|
||||
tty: true
|
||||
# deploy:
|
||||
# replicas: 3
|
||||
# resources:
|
||||
# limits:
|
||||
# cpus: '0.3'
|
||||
# memory: 600M
|
||||
Reference in New Issue
Block a user