This commit is contained in:
2025-01-24 16:23:04 +03:00
parent eabf4dc249
commit 32304cc806
4 changed files with 29 additions and 10 deletions
+6 -3
View File
@@ -1,7 +1,8 @@
version: '3.7'
#version: '3.7'
services:
php-apache:
container_name: php-apache
user: www-data:www-data
build:
context: ./php
dockerfile: Dockerfile
@@ -11,10 +12,12 @@ services:
volumes:
- ./app:/var/www/html/
ports:
- 8000:80
- 80:80
environment:
- TZ=Europe/Moscow
db:
container_name: db
image: postgres
image: postgres:15
restart: always
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}