Skip to content

Commit

Permalink
php
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Oct 26, 2024
1 parent e6446db commit aedf976
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/php/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@
services:
php:
container_name: ${W9_ID}
image: $W9_REPO:$W9_VERSION
#image: $W9_REPO:$W9_VERSION
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
command: /bin/bash -c "bash /usr/local/bin/cmd.sh && apache2-foreground"
env_file: .env
ports:
- $W9_HTTP_PORT_SET:80
volumes:
- source:/var/www/html
- ./src/cmd.sh:/usr/local/bin/cmd.sh #for CI
- ./src/php_extra.ini:/usr/local/etc/php/conf.d/php_extra.ini #for custom php.ini

volumes:
Expand Down

0 comments on commit aedf976

Please sign in to comment.