Skip to content

Commit

Permalink
fix: reverted docker compose build approach
Browse files Browse the repository at this point in the history
  • Loading branch information
CS76 committed Sep 30, 2024
1 parent 667912a commit 9708ddd
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
25 changes: 17 additions & 8 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
services:
app:
image: nfdi4chem/coconut:dev-app-latest
build:
context: .
dockerfile: ./resources/dc-ops/production/Dockerfile
args:
WWWGROUP: '${WWWGROUP}'
image: coconut-8.3/app
container_name: coconut_app
networks:
- coconut
Expand All @@ -10,11 +15,15 @@ services:
- cm
# - typesense
volumes:
- www-data:/var/www/html
- www-data:/var/www
worker:
image: nfdi4chem/coconut:dev-app-latest
command: php artisan horizon
container_name: coconut_worker
build:
context: .
dockerfile: ./resources/dc-ops/production/Dockerfile
args:
WWWGROUP: '${WWWGROUP}'
image: coconut-8.3/app
container_name: coconut_app
networks:
- coconut
depends_on:
Expand All @@ -23,7 +32,7 @@ services:
- cm
# - typesense
volumes:
- www-data:/var/www/html
- www-data:/var/www
pgsql:
image: "informaticsmatters/rdkit-cartridge-debian:latest"
ports:
Expand Down Expand Up @@ -77,7 +86,7 @@ services:
depends_on:
- app
volumes:
- www-data:/var/www/html
- www-data:/var/www
cm:
image: "nfdi4chem/cheminformatics-microservice:dev-latest"
environment:
Expand All @@ -91,7 +100,7 @@ services:
retries: 20
start_period: 60s
networks:
- coconut
- sail
# typesense:
# image: 'typesense/typesense:0.25.2'
# ports:
Expand Down
2 changes: 1 addition & 1 deletion resources/dc-ops/nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ server {
index index.php index.html;
error_log /var/log/nginx/error.log;
access_log /var/log/nginx/access.log;
root /var/www/html/public;
root /var/www/public;
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
Expand Down
4 changes: 2 additions & 2 deletions resources/dc-ops/production/php.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[PHP]
post_max_size = 100M
upload_max_filesize = 100M
post_max_size = 200M
upload_max_filesize = 200M
variables_order = EGPCS
pcov.directory = .

0 comments on commit 9708ddd

Please sign in to comment.