Skip to content

Instantly share code, notes, and snippets.

@tyjak
Created May 19, 2021 22:06
Show Gist options
  • Save tyjak/930aa2a17d59c24b1f1421b25ed17284 to your computer and use it in GitHub Desktop.
Save tyjak/930aa2a17d59c24b1f1421b25ed17284 to your computer and use it in GitHub Desktop.
version: '3.7'
services:
reverse-proxy:
image: nginx
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
- /etc/letsencrypt/:/etc/letsencrypt/
ports:
- 443:443
networks:
- duniter
deploy:
resources:
limits:
cpus: '0.10'
memory: 100M
duniter:
image: duniter/duniter
volumes:
- ./duniter/data:/var/lib/duniter
ports:
- "20901:20901"
- "10901:10901"
- "127.0.0.1:9220:9220"
networks:
- duniter
deploy:
resources:
limits:
cpus: '0.70'
memory: 800M
networks:
duniter:
# GistID: 930aa2a17d59c24b1f1421b25ed17284
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment