mirror of
https://github.com/Yaslonane/docker_php-apache-postgre.git
synced 2026-05-19 17:48:31 +03:00
---
This commit is contained in:
+6
-3
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user