Edited: docker-compose.yaml

This commit is contained in:
Filip Rojek 2024-12-31 10:46:14 +01:00
parent d13c490efb
commit eff5be49c4

View File

@ -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"]