diff --git a/das/Dockerfile b/das/Dockerfile index bd48c57..1d92fcb 100644 --- a/das/Dockerfile +++ b/das/Dockerfile @@ -4,12 +4,12 @@ WORKDIR /opt/registry/das COPY . . +RUN composer install + RUN mv /opt/registry/das/config.php.dist /opt/registry/das/config.php RUN sed -i "s|'db_username' => 'your_username'|'db_username' => '$DB_USER'|g" /opt/registry/das/config.php RUN sed -i "s|'db_password' => 'your_password'|'db_password' => '$DB_PASSWORD'|g" /opt/registry/das/config.php -RUN composer install - VOLUME /var/log/namingo CMD ["php","/opt/registry/das/start_das.php"] \ No newline at end of file diff --git a/rdap/Dockerfile b/rdap/Dockerfile new file mode 100644 index 0000000..ed131b5 --- /dev/null +++ b/rdap/Dockerfile @@ -0,0 +1,15 @@ +FROM phpswoole/swoole:php8.3-alpine + +WORKDIR /opt/registry/rdap + +COPY . . + +RUN composer install + +RUN mv /opt/registry/rdap/config.php.dist /opt/registry/rdap/config.php +RUN sed -i "s|'db_username' => 'your_username'|'db_username' => '$DB_USER'|g" /opt/registry/rdap/config.php +RUN sed -i "s|'db_password' => 'your_password'|'db_password' => '$DB_PASSWORD'|g" /opt/registry/rdap/config.php + +VOLUME /var/log/namingo + +CMD ["php","/opt/registry/rdap/start_rdap.php"] \ No newline at end of file