-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (53 loc) · 1.14 KB
/
Copy pathdocker-compose.yml
File metadata and controls
58 lines (53 loc) · 1.14 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
services:
php-apache-environment:
build:
context: .
dockerfile: Dockerfile
container_name: pramnos_php
ports:
- "18081:80"
volumes:
- .:/var/www/html
environment:
- DB_HOST=timescaledb
- DB_USER=postgres
- DB_PASS=secret
- DB_NAME=pramnos_test
- DB_TYPE=postgresql
- CACHE_HOST=redis
depends_on:
- db
- timescaledb
- redis
db:
build:
context: ./docker/mysql
image: pramnosframework-mysql:8.0
container_name: pramnos_db
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_DATABASE=pramnos_test
ports:
- "3306"
timescaledb:
image: timescale/timescaledb:latest-pg14
container_name: pramnos_timescaledb
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=secret
- POSTGRES_DB=pramnos_test
ports:
- "5432"
redis:
image: redis:alpine
container_name: pramnos_redis
ports:
- "6379"
docs:
image: squidfunk/mkdocs-material:latest
container_name: pramnos_docs
ports:
- "8000:8000"
volumes:
- .:/docs
working_dir: /docs