Last active
November 11, 2020 00:47
-
-
Save Wind213/b3f9503a6aac084135d39fd7a8b54d6a to your computer and use it in GitHub Desktop.
This file contains 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' | |
services: | |
app: | |
image: lagden/cep_consulta:latest | |
command: ["node", "index.js"] | |
environment: | |
- NODE_ENV=production | |
- RHOST=redis | |
ports: | |
- 1235:3000 | |
networks: | |
- redis-net | |
depends_on: | |
- redis | |
redis: | |
image: redis:4.0.5-alpine | |
command: ["redis-server", "--appendonly", "yes"] | |
hostname: redis | |
networks: | |
- redis-net | |
volumes: | |
- redis-data:/data | |
networks: | |
redis-net: | |
volumes: | |
redis-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment