Skip to content

Commit

Permalink
Fixed path to fpm in Baikal container #5
Browse files Browse the repository at this point in the history
  • Loading branch information
ckulka committed Jan 15, 2022
1 parent 5560f14 commit c3784a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/baikal-nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ server {
try_files $fastcgi_script_name =404;
include /etc/nginx/fastcgi_params;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;

Expand Down
8 changes: 7 additions & 1 deletion examples/docker-compose.baikal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,14 @@ services:
volumes:
- infcloud:/usr/share/nginx/infcloud:ro

# IMPORTANT: For current configuration examples, see
# - Simple Baikal example: https://github.com/ckulka/baikal-docker/blob/master/examples/docker-compose.yaml
# - Traefik/SSL example: https://github.com/ckulka/baikal-docker/blob/master/examples/docker-compose.ssl.yaml
#
# Especially make sure that the "fastcgi_pass" path matches the nginx
# configuration from here: https://github.com/ckulka/baikal-docker/blob/master/files/nginx.conf
baikal:
image: ckulka/baikal:experimental-nginx
image: ckulka/baikal:nginx
restart: always
labels:
traefik.enable: "true"
Expand Down

0 comments on commit c3784a4

Please sign in to comment.