

Hasan
Forum Replies Created
-
Replies viewable by members only
-
Hasan
AdministratorAugust 23, 2025 at 5:43 pm in reply to: Information missing (Instructions on Updown and Website Monitor)Replies viewable by members only
-
Replies viewable by members only
-
Hasan
AdministratorAugust 22, 2025 at 12:21 pm in reply to: Unable to Access Server After Enabling 2FAReplies viewable by members only
-
Hasan
AdministratorAugust 22, 2025 at 7:44 am in reply to: Upload the source code of my CodeIgniter website on CoolifyOr you can can build your Docker Image locally and push to the registry and deploy easily in coolify as we showed in the course with FastAPI Projects.
the DockerFile will something like:
FROM php:8.2-fpm-alpine as phpbase
WORKDIR /var/www
# Install extensions
RUN apk add --no-cache $PHPIZE_DEPS libpng-dev libjpeg-turbo-dev libzip-dev icu-dev oniguruma-dev \
&& docker-php-ext-configure gd --with-jpeg \
&& docker-php-ext-install pdo pdo_mysql gd zip intl mbstring
# Composer (if you use it)
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
# Copy app files
COPY . /var/www
# Install deps (if composer.json exists)
RUN if [ -f composer.json ]; then composer install --no-dev --prefer-dist --no-interaction; fi
# -------------------------
FROM nginx:alpine
WORKDIR /var/www
# Copy code
COPY . /var/www
# Nginx config (CI4 public/ root assumed)
COPY deploy/nginx/default.conf /etc/nginx/conf.d/default.conf
# PHP-FPM sidecar inside same container (using s6-overlay-like approach is ideal,
# but for simplicity we'll run php-fpm in background via dumb-init).
# Install php-fpm runtime:
RUN apk add --no-cache php82-fpm php82-mysqli php82-intl php82-gd php82-zip php82-mbstring php82-session \
&& sed -i 's|^;cgi.fix_pathinfo=.*|cgi.fix_pathinfo=0|' /etc/php82/php.ini
# Entrypoint: start php-fpm then nginx (simple supervisor-less approach)
CMD sh -lc "php-fpm82 -F & nginx -g 'daemon off;'" -
Hasan
AdministratorAugust 22, 2025 at 7:42 am in reply to: Upload the source code of my CodeIgniter website on CoolifyCodeIgniter is PHP based.
if you are familiar with docker, create a docker file (nginx + php-fpm)
and you can create the MySQL instance separately with coolify as it has built in 1 installer.
as @husein mentioned.
you can push the project to Github, create the docker.yml file, and then in coolify you can connect your repo and deploy using the docker file.
the docker file will look something like:
version: "3.9"
services:
app:
image: php:8.2-fpm-alpine
container_name: ci-php
working_dir: /var/www
volumes:
- ./:/var/www
environment:
PHP_MEMORY_LIMIT: 256M
command: sh -lc "
apk add --no-cache $PHPIZE_DEPS libpng-dev libjpeg-turbo-dev libzip-dev icu-dev oniguruma-dev \
&& docker-php-ext-configure gd --with-jpeg \
&& docker-php-ext-install pdo pdo_mysql gd zip intl mbstring \
&& if [ -f composer.json ]; then \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& composer install --no-dev --prefer-dist --no-interaction; \
fi \
&& php-fpm -F
"
web:
image: nginx:alpine
container_name: ci-nginx
depends_on:
- app
ports:
- "8080:80"
volumes:
- ./:/var/www
- ./deploy/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
# For production, prefer a managed DB in Coolify (see Step 2).
# This local DB is convenient for quick starts/testing.
db:
image: mysql:8.0
container_name: ci-mysql
environment:
MYSQL_DATABASE: ${DB_NAME:-app}
MYSQL_USER: ${DB_USER:-app}
MYSQL_PASSWORD: ${DB_PASS:-secret}
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS:-rootsecret}
volumes:
- dbdata:/var/lib/mysql
command: --default-authentication-plugin=mysql_native_password
volumes:
dbdata: -
Replies viewable by members only
-
Hasan
AdministratorAugust 27, 2025 at 2:06 pm in reply to: Testing – Make.Com No Code Agents – Reddit Scraper🙏
-
Hasan
AdministratorAugust 27, 2025 at 9:13 am in reply to: Testing – Make.Com No Code Agents – Reddit ScraperGood luck!
-
Hasan
AdministratorAugust 23, 2025 at 6:19 am in reply to: Can’t get the Redis Object Cache plugin for WordPress to workReplies viewable by members only
-
what do you mean?
the scraping logic?
-
Hasan
AdministratorAugust 22, 2025 at 12:15 pm in reply to: Best VPS Region & Backup Option for Hosting Malaysia-Based WebsitesReplies viewable by members only
-
please check this video:
-
am just kidding. you can build anything. there is space for anyone.
friend, please don’t just copy paste from ChatGPT.
please choose a specific idea to help you build it