-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
51 lines (48 loc) · 981 Bytes
/
docker-compose.dev.yml
File metadata and controls
51 lines (48 loc) · 981 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
version: "3"
services:
redis:
image: redis
container_name: isomercms-redis
ports:
- 6379:6379
support:
build:
dockerfile: ./support/Dockerfile
ports:
- "8082:8082"
depends_on:
- postgres
- redis
env_file:
- .env
volumes:
- ./:/opt/isomercms-backend
- ${EFS_VOL_PATH}:${EFS_VOL_PATH}
- "~/.gitconfig:/etc/gitconfig"
backend:
build:
context: .
dockerfile: Dockerfile
depends_on:
- postgres
- redis
ports:
- "8081:8081"
env_file:
- .env
volumes:
- ./:/opt/isomercms-backend
- ${EFS_VOL_PATH}:${EFS_VOL_PATH}
- "~/.gitconfig:/etc/gitconfig"
postgres:
image: "postgres:13-alpine"
environment:
POSTGRES_USER: isomer
POSTGRES_PASSWORD: password
POSTGRES_DB: isomercms_dev
ports:
- "5432:5432"
volumes:
- isomercms_data:/var/lib/postgresql/data
volumes:
isomercms_data: