-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (40 loc) · 783 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
46 lines (40 loc) · 783 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
version: '3.7'
services:
db:
image: postgres:13
ports:
- "5432:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: "123456"
POSTGRES_DB: timemaster_dev
volumes:
- pgdata:/var/lib/postgresql/data
phoenix:
build:
context: ./timemaster
dockerfile: Dockerfile
volumes:
- ./timemaster:/app
- /app/deps
ports:
- "4000:4000"
depends_on:
- db
environment:
MIX_ENV: dev
front:
build:
context: ./front
dockerfile: Dockerfile
ports:
- "8081:8081"
depends_on:
- phoenix
environment:
VITE_ENV: DEV
VITE_URL_DEV: http://63.250.57.169:4000/
VITE_URL_PROD: "*/*"
VITE_BASE_URI: "api/"
volumes:
pgdata: