DOCKGE environment variables to create admin user and password #542
                  
                    
                      rchekhina
                    
                  
                
                  started this conversation in
                Feature Request
              
            Replies: 4 comments
-
| 
         This would be amazing, it would help expedite installations via automation platforms such as Ansible, Terraform, etc  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         +1 for this too. It would really help with deploying the agent using Ansible.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         is there currently some alternative to create the admin user via automation platforms?  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         +1, This would make my day!  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Feature Request Type
Other
🔖 Feature description
HI,
Should it possible to have environment variable to create user / password ?
Best regards.
✔️ Solution
compose.yaml:
services:⚠️  READ IT CAREFULLY. If you did it wrong, your data could end up writing into a WRONG PATH.⚠️  1. FULL path only. No relative path (MUST)⚠️  2. Left Stacks Path === Right Stacks Path (MUST)
dockge:
image: louislam/dockge:1
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/app/data
# Stacks Directory
#
#
#
- /home/ddeploy/deployments:/opt/stacks
environment:
# Tell Dockge where to find the stacks
- DOCKGE_STACKS_DIR=/opt/stacks
- USER_ADMIN=admin
- USER_ADMIN_PASSWORD=XXXXXXX
❓ Alternatives
No response
📝 Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions