Skip to content

Commit

Permalink
Rename simulation-service to sciml-service
Browse files Browse the repository at this point in the history
  • Loading branch information
fivegrant committed Oct 6, 2023
1 parent 1d4c836 commit 7b37b20
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions docker/Dockerfile.api
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM julia:1.9
WORKDIR /simulation-service
WORKDIR /sciml-service

# Install SimulationService.jl
COPY Project.toml /simulation-service/
COPY Manifest.toml /simulation-service/
COPY src/ /simulation-service/src/
COPY examples/ /simulation-service/examples/
COPY Project.toml /sciml-service/
COPY Manifest.toml /sciml-service/
COPY src/ /sciml-service/src/
COPY examples/ /sciml-service/examples/
ENV JULIA_PROJECT=.
RUN julia -e 'using Pkg; Pkg.instantiate();'

# Launch simulation-service
# Launch sciml-service
EXPOSE 8080
CMD [ "julia", "--threads", "4", "-e", "using SimulationService; SimulationService.start!(); while true sleep(10000) end" ]
12 changes: 6 additions & 6 deletions docker/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ function "check_suffix" {
# ----------------------------------------------------------------------------------------------------------------------

group "prod" {
targets = ["simulation-service"]
targets = ["sciml-service"]
}

group "default" {
targets = ["simulation-service-base"]
targets = ["sciml-service-base"]
}

# ----------------------------------------------------------------------------------------------------------------------
Expand All @@ -42,12 +42,12 @@ target "_platforms" {
platforms = ["linux/amd64"]
}

target "simulation-service-base" {
target "sciml-service-base" {
context = "."
tags = tag("simulation-service", "", "")
tags = tag("sciml-service", "", "")
dockerfile = "docker/Dockerfile.api"
}

target "simulation-service" {
inherits = ["_platforms", "simulation-service-base"]
target "sciml-service" {
inherits = ["_platforms", "sciml-service-base"]
}
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ networks:
name: sim-execution
services:
api:
container_name: simulation-service
container_name: sciml-service
build:
context: ../
dockerfile: docker/Dockerfile.api
Expand Down

0 comments on commit 7b37b20

Please sign in to comment.