Skip to content

Commit

Permalink
phpcms修改
Browse files Browse the repository at this point in the history
  • Loading branch information
0xs1riu5 committed Oct 21, 2018
1 parent d867ded commit 1519dd9
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 523 deletions.
13 changes: 1 addition & 12 deletions phpcms/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,5 @@ services:
build: ./php-fpm
image: s1r1u5/phpcms:1.0
restart: always
links:
- mysql_phpcms:db
ports:
- 8002:80
depends_on:
- mysql_phpcms

mysql_phpcms:
build: ./mysql
image: s1r1u5/mysql_phpcms:5.1
environment:
MYSQL_ROOT_PASSWORD: "123456"

- 80:80
11 changes: 0 additions & 11 deletions phpcms/mysql/Dockerfile

This file was deleted.

12 changes: 4 additions & 8 deletions phpcms/php-fpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
FROM s1r1u5/php:5.6

FROM s1riu5/lnmp:5.6

MAINTAINER s1riu5<[email protected]>

COPY src/ /www
COPY schema.sql /docker-entrypoint-initdb.d/

COPY default.conf /etc/nginx/conf.d/
COPY super.ini /etc/supervisor.d/

COPY src/ /app

RUN chmod -R 777 /www

RUN set -x \
&& chmod -R 777 /app

44 changes: 0 additions & 44 deletions phpcms/php-fpm/default.conf

This file was deleted.

Loading

0 comments on commit 1519dd9

Please sign in to comment.