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 b7f6886

Browse files
Updated PHP to 8.1.1
1 parent 47af86d commit b7f6886

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

‎lamp/docker-compose.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,37 @@ version: '3'
22
services:
33
db:
44
image: mysql:latest
5-
command: --default-authentication-plugin=mysql_native_password
65
environment:
76
MYSQL_DATABASE: lamp_demo
87
MYSQL_USER: lamp_demo
98
MYSQL_PASSWORD: password
109
MYSQL_ALLOW_EMPTY_PASSWORD: 1
11-
networks:
12-
- lamp-demo
1310
volumes:
14-
- ./db:/docker-entrypoint-initdb.d
11+
- "./db:/docker-entrypoint-initdb.d"
12+
networks:
13+
- lamp-docker
1514
www:
1615
depends_on:
1716
- db
18-
image: php:8.0.2-apache-buster
17+
image: php:8.1.1-apache
1918
volumes:
2019
- "./:/var/www/html"
21-
build:
22-
context: ./www
23-
dockerfile: Dockerfile
2420
ports:
2521
- 80:80
2622
- 443:443
2723
networks:
28-
- lamp-demo
24+
- lamp-docker
2925
phpmyadmin:
3026
depends_on:
3127
- db
3228
image: phpmyadmin/phpmyadmin
33-
restart: always
29+
ports:
30+
- 8001:80
3431
environment:
3532
- PMA_HOST=db
3633
- PMA_PORT=3306
37-
ports:
38-
- 8001:80
3934
networks:
40-
- lamp-demo
35+
- lamp-docker
4136
networks:
42-
lamp-demo:
43-
driver: bridge
37+
lamp-docker:
38+
driver: bridge

‎lamp/www/Dockerfile

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
(0)

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