Skip to content

Commit

Permalink
minor edit in docker compose (#2746)
Browse files Browse the repository at this point in the history
# Purpose

naming the containers and adding ```restart``` tag in docker compose
file

# Changes Made

Please provide a detailed list of the changes made in this pull request.

1. editing docker compose file
  • Loading branch information
thebigbone authored Dec 11, 2023
1 parent 1468093 commit 02653c2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ services:
dockerfile: Dockerfile
target: base
image: sweepai/sweep
container_name: webhook
# network_mode: "host"
volumes:
- .:/app
Expand All @@ -20,27 +21,34 @@ services:
tty: true
environment:
- PORT=${PORT:-8080}
restart: unless-stopped
sandbox:
build:
context: sweepai/sandbox
dockerfile: Dockerfile.sandbox
image: sweepai/sandbox
container_name: sandbox
scale: 0
restart: unless-stopped
sandbox-web:
env_file:
- .env
build:
context: sweepai/sandbox
dockerfile: Dockerfile.web
image: sweepai/sandbox-web
container_name: sandbox-web
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 8081:8080
restart: unless-stopped
minis3:
build: minis3
image: sweepai/minis3
container_name: minis3
ports:
- "8082:8080"
volumes:
- ./public:/app/public
restart: unless-stopped

0 comments on commit 02653c2

Please sign in to comment.