Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b4c1bb2

Browse files
committed
modify yml format
1 parent 96b4c03 commit b4c1bb2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

‎docker-compose.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
version: '2'
22

33
services:
4-
54
php-fpm:
65
build: php-fpm
76
ports:
87
- "9000:9000"
9-
# restart: always
108
volumes:
11-
# - /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime:ro
129
- ./www:/var/www
1310
- ./php-fpm/php.ini:/usr/local/etc/php/php.ini
1411
- ./php-fpm/opcache.ini:/usr/local/etc/php/conf.d/opcache.ini
1512
- ./php-fpm/php-fpm.conf:/usr/local/etc/php-fpm.conf
1613
- ./php-fpm/www.conf:/usr/local/etc/php-fpm.d/www.conf
14+
# - /etc/localtime:/etc/localtime
15+
# restart: always
1716
# networks:
1817
# - custom
1918

@@ -22,17 +21,16 @@ services:
2221
ports:
2322
- "81:81" # demo1
2423
- "82:82" # demo2
25-
# restart: always
2624
volumes:
2725
- ./www:/var/www
2826
- ./nginx/logs:/var/logs
2927
- ./nginx/conf.d:/etc/nginx/conf.d
3028
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
3129
# - /etc/localtime:/etc/localtime
30+
# restart: always
3231
# networks:
3332
# - custom
3433

35-
3634
#networks:
3735
# custom:
3836
# ipam:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /