Skip to content

Ed1ks/aapanel_dockerized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

aapanel_dockerized

GitHub

Based on original aapanel/aapanel:lib (as of 03-03-2023)

Fixed dockerized Aapanel

Testet and worked on date 03-03-2023

Features:

  • Uses original aapanel image from Docker Hub.
  • Creates an startup script to start all services on boot.
  • Creates Volumes, so installed apps wont get missed.
  • Disables false-positives of healthcheck

Please check the Dockerfile for exec information.

Create it

Run following command for instant run:

docker run -dt --name aapanel --no-healthcheck -p 7821:7800 -v /usr -v /etc -v /dev/shm -v /sys/fs/cgroup -v aapanel_data:/www ed1k/aapanel:latest

This command deactivates the healthcheck of base image. Else it will show unhealthy state of your container, after setting the panel to ssl (base image checks connection of http://).

Run it

security Entry: http://<your ip>:7820/aapanel username: aapanel password: aapanel123

Recommended Aapanel setup

These steps are assuming that you use following setup:

If not, your setup might differ.

  1. deploy aapanel using code above
  2. create network (just give it a name and create) using portainer
  3. add this network in npm and in aapanel container
  4. login to the panel
  5. go to settings and change username and password and save
  6. go to settings and set domain
  7. setup your domain in cloudflare
  8. in npm set your domain with Scheme "http://", port 7800, use "aapanel" (container name) as Hostname, turn on force ssl and let it create its Lets Encrypt certificate.
  9. login into aapanel with your domain
  10. create ssl certificate in cloudflare for your domain
  11. in settings -> security click on "set" at "Panel SSL", copy here your certificate from cloudflare and save.
  12. change the "Panel SSL" Trigger in aapanel, even if its already green and save. (Its buggy, as it is not activated)
  13. change Scheme in npm to https:// and save
  14. now you can login again into aapanel and make your one-click-deplyoment
  15. open ssl-port in phpadmin settings.

Additional Information

One-click deployment doesnt always show the newest versions. Phpmyadmin 4.9 for example could be needed to uninstalled so the newer version 5.2 can be installed, else some error could error when opening it.

About

Fixed dockerized Aapanel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages