-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
36 lines (35 loc) · 1.05 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
version: "3"
services:
anser-saga-service:
image: webdevops/php:8.1
ports:
- 8080:8080
working_dir: /app
environment:
- WEB_DOCUMENT_ROOT=/app/public
- PHP_MEMORY_LIMIT=2048M
- PHP_MAX_EXECUTION_TIME=600
- PHP_POST_MAX_SIZE=200M
- PHP_UPLOAD_MAX_FILESIZE=200M
volumes:
- './app:/app'
command: >
bash -c "./rr serve"
# anser-nginx:
# image: nginx
# ports:
# - "8080:80"
# volumes:
# - ./nginx/nginx.conf:/etc/nginx/nginx.conf
# - ./nginx/default.conf:/etc/nginx/conf.d/default.conf
# environment:
# - NGINX_PORT=80
anser_DB:
image: postgres:11.12
environment:
POSTGRES_DB: all
POSTGRES_USER: root
POSTGRES_PASSWORD: root
ports:
- "5432:5432"
command: ["postgres", "-c", "logging_collector=on", "-c", "log_destination=stderr", "-c", "max_connections=10000"]