build jars and compose the docker image tweaks
This commit is contained in:
12
BrickLog-Server/docker-compose.yml
Normal file
12
BrickLog-Server/docker-compose.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
version: '0.1'
|
||||
|
||||
services:
|
||||
bricklog_server:
|
||||
container_name: BrickLog_Server
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "8080:8080" # Expose the application on port 8080
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway" # Enables access to the host's MariaDB instance
|
Reference in New Issue
Block a user