Add Docker support and environment configuration

Introduced Dockerfile, .dockerignore, and example environment file for containerization. Added compose.yml for Docker Compose setup and renamed docker-compose.dev.yml to compose.dev.yml. Updated build.gradle.kts for Java 21 and shadow plugin, and improved .gitignore and .gitattributes. Refactored Config.java to reorder ENV initialization.
This commit is contained in:
2025-11-04 21:18:28 +07:00
parent b3cc35b4c2
commit 4bf94aaad4
9 changed files with 136 additions and 8 deletions
+18
View File
@@ -0,0 +1,18 @@
services:
couchbase:
image: couchbase:community-7.6.2
env_file:
- .env
ports:
- "8091-8097:8091-8097"
- "9123:9123"
- "11207:11207"
- "11210:11210"
- "11280:11280"
- "18091-18097:18091-18097"
volumes:
- couchbase_data:/opt/couchbase/var
restart: unless-stopped
volumes:
couchbase_data: