Enviar arquivos para "/"
This commit is contained in:
28
docker-compose.yml
Normal file
28
docker-compose.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
version: "3.8"
|
||||
|
||||
# ============================================================
|
||||
# ANTES DE USAR NO PORTAINER:
|
||||
# No servidor via SSH, rode:
|
||||
# git clone https://github.com/SEU_USER/SEU_REPO.git
|
||||
# cd SEU_REPO
|
||||
# docker build -t android-tv .
|
||||
# Depois cole este arquivo no Portainer > Stacks > Add Stack
|
||||
# ============================================================
|
||||
|
||||
services:
|
||||
android-tv:
|
||||
image: android-tv # imagem buildada localmente via SSH
|
||||
container_name: android-tv
|
||||
privileged: true
|
||||
ports:
|
||||
- "6080:6080" # noVNC — http://IP:6080/vnc_lite.html
|
||||
- "5555:5555" # ADB
|
||||
devices:
|
||||
- /dev/kvm:/dev/kvm # KVM obrigatório para performance
|
||||
shm_size: "4gb"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- android-tv-data:/android/userdata # persiste dados do Android
|
||||
|
||||
volumes:
|
||||
android-tv-data:
|
||||
Reference in New Issue
Block a user