-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (39 loc) · 1.18 KB
/
docker-compose.yml
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
42
43
44
version: '3.6'
# Requires Docker v18.02 or higher.
################################################################
# The DockerPHP Project #
# https://github.com/phpexpertsinc/docker-php #
# License: MIT #
# #
# Copyright © 2018 PHP Experts, Inc. <[email protected]> #
# Author: Theodore R. Smith <[email protected]> #
# PGP Sig: 4BF826131C3487ACD28F2AD8EB24A91DD6125690 #
################################################################
services:
web:
image: phpexperts/web:nginx-php7.4
depends_on:
- db
links:
- db
volumes:
- .:/var/www
- ./docker/web:/etc/nginx/custom
ports:
- 80:80
db:
image: postgres:12.3
volumes:
- /var/lib/docker/postgresql:/var/lib/postgresql
ports:
- 5432:5432
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: dqgK6vR9%
POSTGRES_DB: calendar
redis:
image: redis:3.2.6
entrypoint:
- redis-server
- --requirepass ${REDIS_PASSWORD}
- --loglevel notice