- Edited
Hi,
I'm using the docker official repository aapanel/aapanel . All right but it keeps restarting.
I tried in the docker-compose, the option restart:unless-stopped. I didn't find any log. the log says:
EXECUTING
and nothing more.
I already tried to create a new docker image from repository centos:7 but it keeps restarting too.
Can I access the panel, but not install apps or stay more than 20 seconds.
version: '3.8'
services:
aapanel:
container_name: aapanel
build: ./docker/docker-files/aapanel
restart: unless-stopped
ports:
#- 127.0.0.25:8886:8888
- 127.0.0.25:8110:8110
- 127.0.0.25:21:21
- 127.0.0.25:443:443
- 127.0.0.25:80:80
#- 127.0.0.25:888:888 #phpmyadmin
volumes:
- ./docker/volumes/aapanel/wwwroot:/www/wwwroot
- ./docker/volumes/aapanel/mysql_data:/www/server/data
- ./docker/volumes/aapanel/vhost:/www/server/panel/vhost
- ./docker/volumes/aapanel/home_antonio:/home/antonio
networks:
aapanel_network:
ipv4_address: 172.16.237.77
ipv6_address: 2001:3984:3989::15
aliases:
- aapanel.site.com.br
domainname: aapanel.site.com.br
hostname: aapanel.site.com.br
networks:
aapanel_network:
driver: bridge
#driver_opts:
# com.docker.network.bridge.host_binding_ipv4: "172.16.238.1"
ipam:
config:
- subnet: "172.16.237.0/24"
- subnet: "2001:3984:3989::/64"
possible problems:
- I noted that it is not persisting data in my volumes. maybe a permission issue.
- there are something happens with systemd. I think that the systemd doesn't work in docker.
Best regards