services: start: image: start build: context: start dockerfile: start.yml postfix: image: postfix depends_on: - start build: context: postfix dockerfile: postfix.yml redis: image: redis depends_on: - postfix build: context: redis dockerfile: Dockerfile entrypoint: ['/bin/bash','/root/run.sh'] restart: unless-stopped proxy: image: proxy depends_on: - postfix build: context: proxy dockerfile: Dockerfile environment: TZ: Europe/Rome ports: - 80:80 - 443:443 volumes: - /home/httpd:/home/httpd entrypoint: ['/bin/bash','/root/proxy.sh'] restart: unless-stopped nginx: image: nginx depends_on: - postfix build: context: nginx dockerfile: Dockerfile environment: TZ: Europe/Rome ports: - 10080:80 - 10443:443 volumes: - /home/httpd:/home/httpd entrypoint: ['/bin/bash','/root/nginx.sh'] restart: unless-stopped php: image: php depends_on: - nginx build: context: php dockerfile: Dockerfile args: PHP_VERSION: 8.3 environment: TZ: Europe/Rome ports: - 9000:9000 volumes: - /home/httpd:/home/httpd entrypoint: ['/bin/bash','/root/run.sh'] restart: unless-stopped cron: image: cron build: context: php dockerfile: Dockerfile args: PHP_VERSION: 8.3 depends_on: - php environment: TZ: Europe/Rome volumes: - /home/httpd:/home/httpd entrypoint: ["/bin/bash"]