Skip to content
Snippets Groups Projects
Commit b5f0c957 authored by Matthias Stefan Bodenbenner's avatar Matthias Stefan Bodenbenner
Browse files

updated docker-compose

parent 71edd19b
No related branches found
No related tags found
No related merge requests found
Pipeline #254774 passed
version: '3'
services:
soil2-backend:
build: .
container_name: soil-backend
volumes:
- ./config.toml:/home/soil-backend/config.toml
- ./resources/soil.jar:/home/soil-backend/resources/soil.jar
ports:
- "8412:8000"
restart: unless-stopped
# network_mode: "bridge"
dns:
- 134.130.4.1
- 134.130.5.1
- 8.8.8.8
- 1.1.1.1
networks:
- soil-network
networks:
soil-network:
external: true
\ No newline at end of file
...@@ -3,16 +3,22 @@ services: ...@@ -3,16 +3,22 @@ services:
soil2-backend: soil2-backend:
image: registry.git-ce.rwth-aachen.de/wzl-mq-ms/forschung-lehre/iop-ws-a.i/soil-monticore-backend:latest image: registry.git-ce.rwth-aachen.de/wzl-mq-ms/forschung-lehre/iop-ws-a.i/soil-monticore-backend:latest
container_name: soil2-backend container_name: soil-backend
volumes: volumes:
- ./config.toml:/home/soil-backend/config.toml - ./config.toml:/home/soil-backend/config.toml
- ./soil.jar:/home/soil-backend/resources/soil.jar - ./soil.jar:/home/soil-backend/resources/soil.jar
ports: ports:
- "8412:8000" - "8412:8000"
restart: unless-stopped restart: unless-stopped
network_mode: "bridge" # network_mode: "bridge"
dns: dns:
- 134.130.4.1 - 134.130.4.1
- 134.130.5.1 - 134.130.5.1
- 8.8.8.8 - 8.8.8.8
- 1.1.1.1 - 1.1.1.1
networks:
- soil-network
networks:
soil-network:
external: true
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment