-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
20 lines (18 loc) · 866 Bytes
/
docker-compose.yml
File metadata and controls
20 lines (18 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
# SPDX-License-Identifier: GPL-3.0-or-later
services:
php:
# Info to build the Docker image
build:
# Specify where the Dockerfile is located (e.g. in the root directory of the project)
context: .docker
# Specify the name of the Dockerfile for changing the PHP version
dockerfile: PHP84-Dockerfile
# Modifiy Ports for every project: <outside>:<inside>
ports:
- 8200:80
# environment: # You can use this section to set environment variables. But you can also use the .env file.
# - DATABASE_URL=mysql://root:root@db/database_name
volumes:
# Location of the project for php-fpm. Note this should be the same for NGINX.*
- ./:/var/www/project/