Skip to content

Instantly share code, notes, and snippets.

@AdonousTech
Created April 15, 2022 21:03
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/6ca382f9137fb89d48dfd3975bd4c631 to your computer and use it in GitHub Desktop.
Save AdonousTech/6ca382f9137fb89d48dfd3975bd4c631 to your computer and use it in GitHub Desktop.
docker-compose-deso-backend-only
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"
nginx:
container_name: nginx
image: nginx:latest
volumes:
- ./nginx.dev:/etc/nginx/nginx.conf
depends_on:
- backend
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