35 lines
789 B
YAML
35 lines
789 B
YAML
name: php-nginx
|
|
services:
|
|
php-nginx:
|
|
cpu_shares: 90
|
|
command: []
|
|
container_name: php-nginx
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 3776M
|
|
environment:
|
|
- HOME=/root
|
|
- PGID=1000
|
|
- PUID=1000
|
|
- TZ=UTC
|
|
- WEBHOME=/var/www/html
|
|
hostname: php-nginx
|
|
image: shinsenter/phpfpm-nginx:latest
|
|
labels:
|
|
icon: https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/php-nginx/icon.png
|
|
ports:
|
|
- target: 80
|
|
published: "8002"
|
|
protocol: tcp
|
|
restart: unless-stopped
|
|
volumes:
|
|
- type: bind
|
|
source: /var/www/html
|
|
target: /var/www/html
|
|
bind:
|
|
create_host_path: true
|
|
devices: []
|
|
cap_add: []
|
|
network_mode: bridge
|
|
privileged: false
|