Inital Commit
This commit is contained in:
19
docker-compose.yml
Normal file
19
docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: sim-link-server
|
||||
ports:
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
# Mount results explicitly to view simulation outcomes and process new files.
|
||||
- ./results:/app/results
|
||||
# Mount the DB directory to retain data. Because our Docker WORKDIR is /app/server,
|
||||
# the sim-link.db will be saved in /app/server/sim-link.db, matching this volume mapping.
|
||||
- ./server:/app/server
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PORT=8080
|
||||
Reference in New Issue
Block a user