-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (48 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
54 lines (48 loc) · 1.01 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
version: '3'
services:
encore:
image: node:alpine
working_dir: /app
command: yarn encore dev-server --hot --port=14094 --host=0.0.0.0
ports:
- "14094:14094"
volumes:
- "./:/app"
app:
build: ./
command: php bin/console server:run 0.0.0.0:8000
environment:
DB_PASSWORD: ano458o7abtnmak54
APP_DEBUG: 1
VAR_DUMPER_SERVER: dump:8000
ports:
- "14090:8000"
volumes:
- "./:/app"
- "composer:/root/composer"
depends_on:
- encore
- db
dump:
build: ./
command: php bin/console server:dump
environment:
VAR_DUMPER_SERVER: 0.0.0.0:8000
expose:
- 8000
volumes:
- "./:/app"
- "composer:/root/composer"
db:
image: postgres:11
volumes:
- "db_data:/var/lib/postgresql/data"
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: ano458o7abtnmak54
POSTGRES_USER: lulhum
POSTGRES_DATABASE: lulhum
volumes:
composer: null
db_data: null