Arcane - Portainer Killer
Arcane - the Portainer Killer
https://getarcane.app/generator
Create the docker-compose.yml file
cat << '_EOF_' > docker-compose.yml
# Arcane Docker Compose Configuration
# Generated at 01/12/2026, 13:14:32
services:
arcane:
image: ghcr.io/getarcaneapp/manager:latest
container_name: arcane
ports:
- '3552:3552'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./arcane-data:/app/data
environment:
- ARCANE_APP_URL=${APP_URL}
- PUID=1000
- PGID=1000
- TZ=${TZ}
- ARCANE_ENCRYPTION_KEY=${ENCRYPTION_KEY}
- ARCANE_DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PW}@postgres:5432/${POSTGRES_DB}
- ARCANE_DEFAULT_ADMIN_USERNAME=${ADMIN_USERNAME}
- ARCANE_DEFAULT_ADMIN_PASSWORD=${ADMIN_PASSWORD}
depends_on:
- postgres
cgroup: host
healthcheck:
test: ['CMD', './arcane', 'health', '--timeout', '2s']
interval: 10s
timeout: 3s
retries: 5
start_period: 15s
restart: unless-stopped
postgres:
image: postgres:18
container_name: arcane-postgres
restart: unless-stopped
environment:
- POSTGRES_USER=${POSTGRES_USER} # The PostgreSQL user (useful to connect to the database)
- POSTGRES_PASSWORD=${POSTGRES_PW} # The PostgreSQL password (useful to connect to the database)
- POSTGRES_DB=${POSTGRES_DB} # The PostgreSQL default database (automatically created at first launch)
volumes:
- ./postgres-data:/var/lib/postgresql
# ports:
# - '5432:5432'
_EOF_
Create the .env file
cat << '_EOF_' > .env
# Database
POSTGRES_USER=arcane_user
POSTGRES_PW=arcane_pw
POSTGRES_DB=arcane_db
# Admin User
ADMIN_USERNAME=suporte
ADMIN_PASSWORD=UmaSenhaSecreta@2026
## password must be at least 12 characters and include an uppercase letter, a lowercase letter, a number, and a symbol"
# URL de acesso
APP_URL=https://arcane.seudominio.com.br
TZ=America/Campo_Grande
# Encryption
ENCRYPTION_KEY=b06019e547d2e0eee5ac775bfa6dc6a529f03fe08d6d3ff479411fa7e619b4ff
_EOF_