chore: update Docker configurations and add test compose file

This commit is contained in:
Ayush Sehrawat
2025-03-01 06:47:11 +00:00
parent d2b6520711
commit 18c2764abd
3 changed files with 26 additions and 15 deletions
+1
View File
@@ -7,6 +7,7 @@ config/.env.development
config/.env.test
config/.env.production
config/.env.test
.env
.env.development
.env.test
.env.production
-15
View File
@@ -1,15 +0,0 @@
version: "3.8"
services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: mydrive
volumes:
- /path/to/data:/data/
- /path/to/temp:/temp/
ports:
- "${HTTP_PORT:-3000}:3000"
- "${HTTPS_PORT:-8080}:8080"
env_file:
- .env # Copy .env.example to .env.development or .env and fill in the values
+25
View File
@@ -0,0 +1,25 @@
version: "3.8"
services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: mydrive
volumes:
# Use the following volumes section if you want to use bind mounts:
# - /path/to/data:/data/
# - /path/to/temp:/temp/
# Use the following volumes section if you want to use named volumes:
- mydrive-data:/data/
- mydrive-temp:/temp/
ports:
- "${HTTP_PORT:-3000}:3000"
- "${HTTPS_PORT:-8080}:8080"
env_file:
- .env.test # Copy .env.example to .env.test or .env and fill in the values
# Use the following volumes section if you want to use named volumes. Useful for development.
volumes:
mydrive-data:
mydrive-temp: