docks and stacks
This commit is contained in:
parent
2a99947e47
commit
2d14cb4e14
7 changed files with 275 additions and 9 deletions
35
stacks/php-nginx.yml
Normal file
35
stacks/php-nginx.yml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue