Skip to content

Instantly share code, notes, and snippets.

@AdonousTech
Last active December 22, 2021 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdonousTech/35276555615bd3142221130e7d1e9083 to your computer and use it in GitHub Desktop.
Save AdonousTech/35276555615bd3142221130e7d1e9083 to your computer and use it in GitHub Desktop.
Docker compose file for demonstrating deployment of DeSo Node to AWS
version: "3.7"
services:
backend:
container_name: backend
image: docker.io/desoprotocol/backend:stable
command: run
volumes:
- db:/db
ports:
- 17001:17001
- 17000:17000
env_file:
- dev.env
expose:
- "17001"
- "17000"
frontend:
container_name: frontend
image: docker.io/desoprotocol/frontend:stable
ports:
- 8080:8080
volumes:
- ./:/app
env_file:
- dev.env
expose:
- "8080"
nginx:
container_name: nginx
image: nginx:latest
volumes:
- ./nginx.dev:/etc/nginx/nginx.conf
depends_on:
- backend
- frontend
ports:
- 80:80
- 443:443
volumes:
db:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment