Created
July 19, 2021 07:50
-
-
Save grayodesa/b534d01ba204c9f9ec329adaa6a113bc to your computer and use it in GitHub Desktop.
Working one
This file contains hidden or 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: | |
| remark: | |
| build: . | |
| image: umputun/remark42:latest | |
| container_name: "remark42" | |
| hostname: "remark" | |
| restart: always | |
| logging: | |
| driver: json-file | |
| options: | |
| max-size: "10m" | |
| max-file: "5" | |
| # uncomment to expose directly (no proxy) | |
| #ports: | |
| # - "80:8080" | |
| # - "443:8443" | |
| environment: | |
| - REMARK_URL=https://remark.blognot.co | |
| - SITE=remark | |
| - SECRET=scay.rhdssefobfOUD | |
| - STORE_BOLT_PATH=/srv/var/db | |
| - BACKUP_PATH=/srv/var/backup | |
| # - SSL_TYPE=auto | |
| # - SSL_ACME_LOCATION=/srv/var/acme | |
| # - [email protected] | |
| # - SSL_ACME_FQDN=remark.blognot.co | |
| - ADMIN_SHARED_ID=github_622716579e19b0660b6e7d2689392af182d67e53 | |
| # - DEBUG=true | |
| - AUTH_GOOGLE_CID=638080872428-rg9pc15h5mdfdshvp1tfrocajkmqn2nlg8h.apps.googleusercontent.com | |
| - AUTH_GOOGLE_CSEC=m7JJdG3TdwfIoEP3hRQLZqVZq69L | |
| - AUTH_GITHUB_CID=c3csdf06dbb688023234203ee43 | |
| - AUTH_GITHUB_CSEC=ae0356862c8097de22323ac440252dd783b050dc93125 | |
| - AUTH_FACEBOOK_CID=4771930934836233234 | |
| - AUTH_FACEBOOK_CSEC=b956d068b542110kfd3b7388996c2b0d94f93 | |
| - ADMIN_PASSWD=sw34ewfku | |
| - EMOJI=true | |
| labels: | |
| reproxy.server: 'remark.blognot.co' | |
| reproxy.route: '^/(.*)' | |
| reproxy.dest: '/$$1' | |
| volumes: | |
| - ./var:/srv/var | |
| reproxy: | |
| image: umputun/reproxy:master | |
| container_name: reproxy | |
| hostname: reproxy | |
| ports: | |
| - "80:80" | |
| - "443:443" | |
| volumes: | |
| - /var/run/docker.sock:/var/run/docker.sock:ro | |
| - ./web:/web | |
| - ./var/acme:/srv/var/acme | |
| environment: | |
| - LISTEN=:443 | |
| - MAX_SIZE=10240000 | |
| - DOCKER_ENABLED=true | |
| - DOCKER_AUTO=true | |
| - ASSETS_LOCATION=/web | |
| - ASSETS_CACHE=720h,text/html:0s,text/xml:0s | |
| - LOGGER_ENABLED=true | |
| - LOGGER_STDOUT=true | |
| # - DEBUG=true | |
| - SSL_TYPE=auto | |
| - [email protected] | |
| - SSL_ACME_FQDN=remark.blognot.co,blognot.co | |
| # - SSL_CERT=/srv/var/acme/blognot.co.pem | |
| # - SSL_KEY=/srv/var/acme/blognot-co-key.pem | |
| - SSL_ACME_LOCATION=/srv/var/acme | |
| - GZIP=true | |
| - STATIC_ENABLED=true | |
| - STATIC_RULES= | |
| blognot.co,^\/feed\/?$$,https://blognot.co/index.xml,; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment