-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (39 loc) · 896 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (39 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
networks:
quickstart-network:
driver: bridge
services:
nginx:
container_name: learnosity-php-sdk-nginx
build:
context: .
dockerfile: docker/nginx/Dockerfile
ports:
- "8000:8000"
volumes:
- .:/var/www/html
environment:
APPLICATION_SERVER_LANGUAGE: php
UPSTREAM_APPLICATION_SERVICE: php:9000
depends_on:
- php
networks:
quickstart-network:
aliases:
- nginx
php:
container_name: learnosity-php-sdk-php-frm
build:
context: .
dockerfile: docker/php/Dockerfile
args:
PHP_VERSION: ${PHP_VERSION:-8.3}
DEBIAN_VERSION: ${DEBIAN_VERSION:-bookworm}
COMPOSER_VERSION: ${COMPOSER_VERSION:-2.7.6}
volumes:
- .:/var/www/html
environment:
- SERVER_NAME=localhost
networks:
quickstart-network:
aliases:
- php