Sign inSign up

imocence/pagoda

By imocence

•Updated over 3 years ago

宝塔镜像 Pagoda service based on centos7

Image
0

129

imocence/pagoda repository overview

⁠Use Dockerfile file content

# Base image
FROM centos:centos7

# Image creator
MAINTAINER imocence

# Generated depends on configuration
RUN curl -sSL https://download.bt.cn/install/install_6.0.sh -o install.sh && echo y |sh install.sh \ 
&& rm -f install.sh && yum clean all

# Specify the working directory
WORKDIR /www

VOLUME ["/www/backup","/www/wwwlogs","/www/wwwroot"]

# Set the ferrous port
EXPOSE 21 80 443 3306 8888

# Start the nginx prevent container exit
CMD ["/usr/sbin/init","/etc/init.d/bt start"]

⁠Use docker-compose.yml file content

version: "3.7"
services:
  backend:
    image: imocence/pagoda:v7
    container_name: pagoda
    privileged: true
    network_mode: host
    restart: always
    volumes:
      - ./backup:/www/backup
      - ./wwwlogs:/www/wwwlogs
      - ./wwwroot:/www/wwwroot

Tag summary

Content type

Image

Digest

sha256:aa6c60620…

Size

255.2 MB

Last updated

over 3 years ago

docker pull imocence/pagoda:v7