@cryptotaxi247 / CoPilot / commits / 6817bcfe

Add .env file and remove docker-compose.dev.yml

Taylor committed Apr 23, 2024 at 09:41 UTC 6817bcfe23466c024ec91670456fd045f7f9f8ea
2 files changed +3 -29
README.md
+3
@@ -91,6 +91,9 @@ wget https://raw.githubusercontent.com/socfortress/CoPilot/v0.0.7/docker-compose
91 # Create the path for storing your data
92 mkdir data
93
94 +# Copy .env.example to .env
95 +cp .env.example .env
96 +
97 # Run Copilot
98 docker compose up -d
99
docker-compose.dev.yml deleted
-29
@@ -1,29 +0,0 @@
1 -version: "2"
2 -
3 -services:
4 - copilot-backend:
5 - build:
6 - context: backend
7 - dockerfile: Dockerfile
8 - volumes:
9 - - ./data/copilot-backend-data/logs:/opt/logs
10 - # Mount the copilot.db file to persist the database
11 - - ./data/data:/opt/copilot/backend/data
12 - env_file: .env
13 -
14 - copilot-frontend:
15 - build:
16 - context: frontend
17 - dockerfile: Dockerfile
18 - target: dev
19 - volumes:
20 - - ./frontend:/app
21 - environment:
22 - - SERVER_HOST=${SERVER_HOST:-localhost} # Set the domain name of your server
23 - ports:
24 - - "80:80"
25 - - "5173:5173"
26 -
27 -networks:
28 - default:
29 - driver: bridge