Created
February 21, 2023 18:25
-
-
Save joseabraham/415bb1af40a1e455b725f03804738140 to your computer and use it in GitHub Desktop.
Docker Compose for a Node.js & Redis Server
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.9' | |
services: | |
redis: | |
image: 'redis:alpine' | |
ports: | |
- '6379:6379' | |
networks: | |
- redis | |
server: | |
restart: on-failure | |
build: ./ | |
ports: | |
- '3300:3300' | |
networks: | |
- redis | |
networks: | |
redis: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment