We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6b5f73 commit ee6877fCopy full SHA for ee6877f
docker-compose.yml
@@ -0,0 +1,32 @@
1
+version: '3.8'
2
+services:
3
+
4
+ frontend:
5
+ build:
6
+ context: ./frontend
7
+ container_name: styleshare-frontend
8
+ ports:
9
+ - '3000:3000'
10
11
+ backend:
12
13
+ context: ./backend
14
+ container_name: styleshare-backend
15
+ depends_on:
16
+ - db
17
+ env_file:
18
+ - ./backend/.env
19
20
+ - '8000:8000'
21
22
+ db:
23
+ image: mongo:latest
24
+ container_name: styleshare-db
25
+ restart: always
26
27
+ - '27017:27017'
28
+ volumes:
29
+ - mongodb_data:/data/db
30
31
+volumes:
32
+ mongodb_data:
0 commit comments