mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-13 04:49:21 +02:00
Dockerize EPP
This commit is contained in:
parent
73f2ca17b0
commit
e5112eefa4
1 changed files with 14 additions and 0 deletions
14
epp/Dockerfile
Normal file
14
epp/Dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
FROM phpswoole/swoole:php8.3-alpine
|
||||||
|
|
||||||
|
WORKDIR /opt/registry/epp
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN composer install
|
||||||
|
RUN mv /opt/registry/epp/config.php.dist /opt/registry/epp/config.php
|
||||||
|
RUN sed -i "s|'db_username' => 'your_username'|'db_username' => '$DB_USER'|g" /opt/registry/epp/config.php
|
||||||
|
RUN sed -i "s|'db_password' => 'your_password'|'db_password' => '$DB_PASSWORD'|g" /opt/registry/epp/config.php
|
||||||
|
|
||||||
|
VOLUME /var/log/namingo
|
||||||
|
|
||||||
|
CMD ["php","/opt/registry/epp/start_epp.php"]
|
Loading…
Add table
Add a link
Reference in a new issue