Skip to content

Commit

Permalink
Various improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
VKambulov committed Apr 4, 2024
1 parent c7e34db commit d2bb3ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ RUN useradd --groups sudo --create-home --shell /bin/bash $USER \
&& echo "${USER} ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/${USER} \
&& chmod 0440 /etc/sudoers.d/${USER}

RUN rm -rf ${WORKDIR}/*
RUN rm -rf /var/www/html/*

USER ${USER}
2 changes: 1 addition & 1 deletion build/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ logfile=/var/log/supervisor/supervisord.log
pidfile=/var/run/supervisord.pid

[program:php]
command=/usr/bin/php8.3 -d variables_order=EGPCS /var/www/html/project/artisan serve --host=0.0.0.0 --port=80
command=/usr/bin/php8.3 -d variables_order=EGPCS /var/www/html/artisan serve --host=0.0.0.0 --port=80
user=coder
environment=LARAVEL_SAIL="1"
stdout_logfile=/dev/stdout
Expand Down
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module "filebrowser" {
version = "1.0.8"
agent_id = coder_agent.main.id
folder = "/var/www/html"
database_path = "/home/coder/filebrowser.db"
}

module "jetbrains_gateway" {
Expand Down

0 comments on commit d2bb3ff

Please sign in to comment.