Skip to content

Commit

Permalink
restart base containers only on-failure(not always)
Browse files Browse the repository at this point in the history
  • Loading branch information
HappyStoic committed Dec 20, 2024
1 parent c31c8e5 commit ca4992b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
build: ./hackerlab
container_name: scl-hackerlab
hostname: hackerlab
restart: always
restart: on-failure
volumes:
- ./hackerlab/data:/data
ports:
Expand All @@ -16,7 +16,7 @@ services:
build: ./dashboard
container_name: scl-dashboard
hostname: dashboard
restart: always
restart: on-failure
ports:
- "127.0.0.1:80:80"
- "127.0.0.1:8080:8080"
Expand All @@ -39,7 +39,7 @@ services:
container_name: scl-ollama
volumes:
- ./ollama:/root/.ollama
restart: always
restart: on-failure
networks:
playground-net:
ipv4_address: 172.20.0.100
Expand Down

0 comments on commit ca4992b

Please sign in to comment.