---
# System prepended metadata

title: Funkwhale all in one container setup Version 1.1.1

---

# Funkwhale all in one container setup Version 1.1.1
```dockerfile=
version: "3"
services:
  funkwhale:
    container_name: funkwhale
    image: funkwhale/all-in-one:1.1.1
    hostname: funkwhale
    restart: unless-stopped
    env_file: .env
    environment:
      # sudo useradd funkwhale; id funkwhale
      - PUID=
      - PGID=
      - TZ=America/New_York
    volumes:
      - ./container:/data
      - ./Music:/music:ro
    networks:
      - production

networks:
  production:
    external: true
```

## Basic commands
This is the new way of running manage.py
```bash=
docker exec -it funkwhale manage command
```
Indexing media from a folder.
```bash=
export LIBRARY_ID="Library ID which is in the url when editing the library"
docker exec -it funkwhale manage import_files $LIBRARY_ID "/music/" --recursive --noinput --in-place
```