You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
638 B
28 lines
638 B
version: "3" |
|
services: |
|
nginx: |
|
image: nginx |
|
ports: |
|
- "80:80" |
|
volumes: |
|
- ./nginx/html/usr/share/nginx/html |
|
- ./nginx/conf:/etc/nginx/conf.d |
|
- ./nginx/logs:/var/log/nginx |
|
networks: |
|
- lnmp-network |
|
php: |
|
image: php:5.6-fpm-alpine3.8 |
|
volumes: |
|
- ./nginx/www:/www |
|
networks: |
|
- lnmp-network |
|
mysql: |
|
image: mysql |
|
ports: |
|
- "3306:3306" |
|
environment: |
|
- MYSQL_ROOT_PASSWORD=123456 |
|
networks: |
|
- lnmp-network |
|
networks: |
|
lnmp-network:
|
|
|