Created
April 15, 2022 21:03
-
-
Save AdonousTech/6ca382f9137fb89d48dfd3975bd4c631 to your computer and use it in GitHub Desktop.
docker-compose-deso-backend-only
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.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