Skip to content

Instantly share code, notes, and snippets.

@Wind213
Last active November 11, 2020 00:47
Show Gist options
  • Save Wind213/b3f9503a6aac084135d39fd7a8b54d6a to your computer and use it in GitHub Desktop.
Save Wind213/b3f9503a6aac084135d39fd7a8b54d6a to your computer and use it in GitHub Desktop.
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