Skip to content

Commit

Permalink
Update Docker compose config file
Browse files Browse the repository at this point in the history
  • Loading branch information
msasikanth committed Jan 23, 2025
1 parent b655270 commit 824cfa5
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/docker/simple-server.compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ services:
- "6379"

server:
image: simpledotorg/server:latest
container_name: simple-server
build:
context: https://github.com/simpledotorg/simple-server.git
dockerfile: ./.docker/dev.Dockerfile
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rake db:setup; bundle exec rails s -p 3000 -b '0.0.0.0'"
expose:
- "3000"
Expand All @@ -32,3 +35,14 @@ services:
CALL_SESSION_REDIS_HOST: redis
RAILS_CACHE_REDIS_URL: redis://
SIDEKIQ_REDIS_HOST: redis
networks:
- simple-network
- default

networks:
simple-network:
driver: bridge
default:
driver: bridge
driver_opts:
com.docker.network.bridge.host_binding_ipv4: "127.0.0.1"

0 comments on commit 824cfa5

Please sign in to comment.