-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (43 loc) · 922 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
47 lines (43 loc) · 922 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
services:
frontend:
build:
context: ./mtaaAddress-frontend
container_name: mtaaAddress_frontend
ports:
- "5173:5173"
volumes:
- ./mtaaAddress-frontend:/app
- /app/node_modules
stdin_open: true
tty: true
networks:
- mtaaNetwork
depends_on:
- backend
backend:
build:
context: ./mtaaAddress-backend
container_name: mtaaAddress_backend
volumes:
- ./mtaaAddress-backend:/app
ports:
- "8001:8000"
networks:
- mtaaNetwork
#command: python manage.py runserver 0.0.0.0:8000
db:
image: postgres:15
container_name: mtaaAddress_db
environment:
POSTGRES_DB: mtaadb
POSTGRES_USER: mtaauser
POSTGRES_PASSWORD: mtaapassword
volumes:
- pgdata:/var/lib/postgresql/data
networks:
- mtaaNetwork
restart: unless-stopped
networks:
mtaaNetwork:
volumes:
pgdata: