This commit is contained in:
Ben 2025-06-26 18:45:56 +03:00 committed by GitHub
commit b86a5730a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 116 additions and 0 deletions

15
rdap/Dockerfile Normal file
View file

@ -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"]