Last active
March 20, 2023 16:53
-
-
Save chloerei/628ac81a2ade020bc4cad5848603e056 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.4' | |
services: | |
web: | |
build: . | |
command: bin/rails server -b 0.0.0.0 | |
volumes: | |
- .:/rails | |
ports: | |
- 3000:3000 | |
depends_on: | |
- postgres | |
- redis | |
js: | |
build: . | |
command: yarn build --watch | |
tty: true | |
volumes: | |
- .:/rails | |
css: | |
build: . | |
command: yarn build:css --watch | |
volumes: | |
- .:/rails | |
worker: | |
build: . | |
command: bundle exec sidekiq | |
volumes: | |
- .:/rails | |
depends_on: | |
- postgres | |
- redis | |
postgres: | |
image: postgres:15 | |
environment: | |
POSTGRES_PASSWORD: postgres | |
redis: | |
image: redis:6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment