Edited: docker-compose.yaml
This commit is contained in:
parent
d13c490efb
commit
eff5be49c4
@ -1,7 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
mariadb:
|
mariadb:
|
||||||
image: mariadb:11.4 # LTS at 25. 12. 2025
|
image: mariadb:11.4 # LTS at 25. 12. 2025
|
||||||
restart: always
|
restart: on-failure:2
|
||||||
environment:
|
environment:
|
||||||
MARIADB_ROOT_PASSWORD: root
|
MARIADB_ROOT_PASSWORD: root
|
||||||
ports:
|
ports:
|
||||||
@ -10,7 +10,7 @@ services:
|
|||||||
|
|
||||||
phpmyadmin:
|
phpmyadmin:
|
||||||
image: phpmyadmin
|
image: phpmyadmin
|
||||||
restart: always
|
restart: on-failure:2
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
environment:
|
environment:
|
||||||
@ -21,10 +21,11 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
#volumes:
|
volumes:
|
||||||
# - .:/var/www/html
|
- .:/var/www/html
|
||||||
ports:
|
ports:
|
||||||
- 8000:80
|
- 8000:80
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
|
restart: on-failure:2
|
||||||
profiles: ["prod"]
|
profiles: ["prod"]
|
||||||
|
Loading…
Reference in New Issue
Block a user