With adminer:fastcgi running
This commit is contained in:
parent
cfb3bbdf60
commit
0757f47966
2 changed files with 57 additions and 30 deletions
|
|
@ -8,10 +8,6 @@ services:
|
||||||
env_file: .env
|
env_file: .env
|
||||||
volumes:
|
volumes:
|
||||||
- db-data:/var/lib/postgresql/data
|
- db-data:/var/lib/postgresql/data
|
||||||
ports:
|
|
||||||
- 3000:5432
|
|
||||||
networks:
|
|
||||||
- internal
|
|
||||||
|
|
||||||
drupal:
|
drupal:
|
||||||
image: rnsrk/drupal:9.4.7-fpm-alpine-extended
|
image: rnsrk/drupal:9.4.7-fpm-alpine-extended
|
||||||
|
|
@ -21,9 +17,6 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
|
||||||
- internal
|
|
||||||
- external
|
|
||||||
volumes:
|
volumes:
|
||||||
- drupal-data:/opt/drupal
|
- drupal-data:/opt/drupal
|
||||||
- ./drupal_context/custom-php-settings.ini:/usr/local/etc/php/conf.d/99-custom-settings.ini
|
- ./drupal_context/custom-php-settings.ini:/usr/local/etc/php/conf.d/99-custom-settings.ini
|
||||||
|
|
@ -39,48 +32,32 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- drupal-data:/opt/drupal
|
- drupal-data:/opt/drupal
|
||||||
- ./nginx-conf:/etc/nginx/conf.d
|
- ./nginx-conf:/etc/nginx/conf.d
|
||||||
networks:
|
|
||||||
- external
|
|
||||||
solr:
|
solr:
|
||||||
image: solr:8-slim
|
image: solr:8-slim
|
||||||
container_name: dlza_solr
|
container_name: dlza_solr
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- solr-data:/opt/solr
|
- solr-data:/opt/solr
|
||||||
environment:
|
environment:
|
||||||
SOLR_JAVA_MEM: "-Xms256M -Xmx512M"
|
SOLR_JAVA_MEM: "-Xms256M -Xmx512M"
|
||||||
ports:
|
|
||||||
- 3002:8983
|
|
||||||
networks:
|
|
||||||
- external
|
|
||||||
graphdb:
|
graphdb:
|
||||||
image: rnsrk/graphdb:10.0.2
|
image: rnsrk/graphdb:10.0.2
|
||||||
container_name: dlza_graphdb
|
container_name: dlza_graphdb
|
||||||
|
restart: unless-stopped
|
||||||
build:
|
build:
|
||||||
context: ./graphdb_context
|
context: ./graphdb_context
|
||||||
volumes:
|
volumes:
|
||||||
- graphdb-data:/graphdb/data
|
- graphdb-data:/graphdb/data
|
||||||
ports:
|
|
||||||
- 3003:7200
|
|
||||||
networks:
|
|
||||||
- external
|
|
||||||
|
|
||||||
adminer:
|
adminer:
|
||||||
image: adminer:fastcgi
|
image: adminer:fastcgi
|
||||||
container_name: dlza_adminer
|
container_name: dlza_adminer
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
networks:
|
|
||||||
- internal
|
|
||||||
- external
|
|
||||||
|
|
||||||
networks:
|
|
||||||
external:
|
|
||||||
driver: bridge
|
|
||||||
internal:
|
|
||||||
driver: bridge
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db-data:
|
db-data:
|
||||||
drupal-data:
|
drupal-data:
|
||||||
graphdb-data:
|
graphdb-data:
|
||||||
solr-data:
|
solr-data:
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,25 @@ server {
|
||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
|
|
||||||
server_name dlza.gnm.de www.dlza.gnm.de;
|
server_name adminer.local;
|
||||||
|
|
||||||
|
index index.php;
|
||||||
|
|
||||||
|
location ~ ^/(index.php)?$ {
|
||||||
|
fastcgi_index index.php;
|
||||||
|
include fastcgi_params;
|
||||||
|
fastcgi_param SCRIPT_FILENAME /var/www/html/index.php;
|
||||||
|
fastcgi_param DOCUMENT_ROOT /var/www/html/;
|
||||||
|
fastcgi_pass adminer:9000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
|
||||||
|
server_name devel.local;
|
||||||
|
|
||||||
index index.php index.html index.htm;
|
index index.php index.html index.htm;
|
||||||
|
|
||||||
|
|
@ -44,3 +62,35 @@ server {
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
|
||||||
|
server_name graphdb.local;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://graphdb:7200;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
|
||||||
|
server_name solr.local;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://solr:8983;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue