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:
tiennm99 committed 2025-11-04 21:18:28 +07:00
1 parent b3cc35b4c2
commit 4bf94aaad4
9 files changed
+136 -8

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
services:
server:
build:
context: .
env_file:
- .env
depends_on:
- couchbase
couchbase:
image: couchbase:community-7.6.2
# env_file:
# - .env
# ports: # Enable these ports if you need
# - "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: