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 e608d0d

Browse files
committed
adding Readme
1 parent 55ddf0d commit e608d0d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

‎README.md‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## PHP-APACHE-DOCKER
2+
3+
For demo this source code list the S3 buckets and the Objects in the bucket. You can have your own codes in `./src`
4+
5+
6+
To test the demo create aws config with name `awsconfig` in this cloned directory
7+
```
8+
[default]
9+
aws_access_key_id = XXXXXXXXXXXXX
10+
aws_secret_access_key = XXXXXXXXXXXXXXXXXX
11+
```
12+
13+
14+
Now, you can build the docker image by running following command:
15+
```
16+
$> docker build -t phpapp:latest .
17+
```
18+
19+
Once, image is sucessfully build you can run start the container with the build image
20+
```
21+
$> docker run --rm -p 8080:80 -it phpapp:latest
22+
```
23+
24+
You can access the app by going to `http://localhost:8080/aws.php`

0 commit comments

Comments
(0)

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