Skip to content

Instantly share code, notes, and snippets.

@pikesley
Created December 23, 2022 18:05
Show Gist options
  • Save pikesley/012bb61d88cf1668dbcc85f8818c0849 to your computer and use it in GitHub Desktop.
Save pikesley/012bb61d88cf1668dbcc85f8818c0849 to your computer and use it in GitHub Desktop.
Github Vandalism docker-compose
CLIVE_PORT=6060
COCKROACH_PORT=7070
POKROVSKY_PORT=8080
version: "3.9"
services:
uncle-clive:
build: uncle-clive
image: pikesley/uncle-clive
ports:
- ${CLIVE_PORT}:${CLIVE_PORT}
working_dir: /opt/uncle-clive
command: bundle exec rackup -p ${CLIVE_PORT} -o 0.0.0.0
dead-cockroach:
build: dead-cockroach
image: pikesley/dead-cockroach
ports:
- ${COCKROACH_PORT}:${COCKROACH_PORT}
working_dir: /opt/dead-cockroach
environment:
CLIVE_PORT: ${CLIVE_PORT}
command: bundle exec rackup -p ${COCKROACH_PORT} -o 0.0.0.0
pokrovsky:
build: pokrovsky
image: pikesley/pokrovsky
ports:
- ${POKROVSKY_PORT}:${POKROVSKY_PORT}
working_dir: /opt/pokrovsky
environment:
POKROVSKY_PORT: ${POKROVSKY_PORT}
COCKROACH_PORT: ${COCKROACH_PORT}
command: bundle exec ruby lib/pokrovsky.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment