-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (44 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
51 lines (44 loc) · 1.08 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
version: '2.2'
services:
db:
restart: always
image: postgres:16-alpine
volumes:
- "./.data/psql:/var/lib/postgresql/data"
environment:
POSTGRES_USER: retailcrm
POSTGRES_PASSWORD: retailcrm
ports:
- 15432:5432
redis:
restart: always
image: redis:5.0-alpine
volumes:
- "./.data/redis:/var/lib/redis"
php:
restart: always
build:
context: ./services/php
args:
WITH_PINBA: "no"
WITH_XDEBUG: "no"
links:
- db
- redis
volumes:
- "./:/var/www/stripe"
nginx:
build: ./services/nginx
volumes_from:
- "php:ro"
ports:
- 10001:80
node:
image: timbru31/node-alpine-git:16
environment:
- HOME=/var/www/stripe
- YARN_CACHE_FOLDER=/yarn
working_dir: "/var/www/stripe"
volumes:
- "./:/var/www/stripe/"
- "$HOME/.yarn:/yarn"