forked from oroinc/orocommerce-application
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (32 loc) · 813 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (32 loc) · 813 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
version: '3.5'
services:
pgsql:
image: oroinc/pgsql:17.4-alpine
ports: ['5432']
labels:
com.symfony.server.service-prefix: ORO_DB
environment:
POSTGRES_USER: oro_db_user
POSTGRES_DB: oro_db
POSTGRES_PASSWORD: oro_db_pass
POSTGRES_ROOT_PASSWORD: oro_db_pass
volumes:
- postgres:/var/lib/postgresql/data
healthcheck:
test: "pg_isready -U$${POSTGRES_USER} -d$${POSTGRES_DB}"
interval: 5s
timeout: 30s
start_period: 40s
restart: on-failure
redis:
image: redis:7.4.2-alpine
ports: ["6379"]
labels:
com.symfony.server.service-prefix: ORO_REDIS
mailcatcher:
image: schickling/mailcatcher
ports: ['1025', '1080']
labels:
com.symfony.server.service-prefix: ORO_MAILER
volumes:
postgres: {}