github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/misc/deployments/test2.gno.land/docker-compose.yml (about) 1 version: "2" 2 3 services: 4 gnoland: 5 container_name: gnoland 6 build: ../../.. 7 environment: 8 - LOG_LEVEL=4 9 - VIRTUAL_HOST=rpc.test2.gno.land 10 - VIRTUAL_PORT=36657 11 - LETSENCRYPT_HOST=rpc.test2.gno.land 12 command: 13 - gnoland 14 - start 15 - --skip-failing-genesis-txs 16 - --chainid 17 - test2 18 - --genesis-remote 19 - test2.gno.land:36657 20 - --genesis-balances-file 21 - /overlay/balances.txt 22 volumes: 23 - "./data/gnoland:/opt/gno/src/testdir" 24 - "./overlay:/overlay:ro" 25 ports: 26 - 36656:36656 27 - 36657:36657 28 restart: on-failure 29 logging: 30 driver: "json-file" 31 options: 32 max-file: "10" 33 max-size: "100m" 34 35 gnoweb: 36 container_name: gnoweb 37 build: ../../.. 38 command: 39 - gnoweb 40 - --bind 41 - 0.0.0.0:80 42 - --remote 43 - gnoland:36657 44 - --captcha-site 45 - $RECAPTCHA_SITE_KEY 46 - --faucet-url 47 - https://faucet.test2.gno.land/ 48 - --help-chainid 49 - test2 50 - --help-remote 51 - test2.gno.land:36657 52 - --home-content 53 - /overlay/HOME.md 54 volumes: 55 - "./overlay:/overlay:ro" 56 links: 57 - gnoland 58 environment: 59 - VIRTUAL_HOST=test2.gno.land 60 - LETSENCRYPT_HOST=test2.gno.land 61 # from .env 62 - RECAPTCHA_SITE_KEY 63 restart: on-failure 64 logging: 65 driver: "json-file" 66 options: 67 max-file: "10" 68 max-size: "100m" 69 70 gnofaucet: 71 container_name: gnofaucet 72 build: ../../.. 73 command: sh -xc " 74 date && 75 mkdir -p /.gno && 76 expect -c \"set timeout -1; spawn gnokey add faucet --home /.gno/ --recover; expect \\\"Enter a passphrase\\\"; send \\\"$GNOKEY_PASS\\r\\\"; expect \\\"Repeat the passphrase\\\"; send \\\"$GNOKEY_PASS\\r\\\"; expect \\\"Enter your bip39 mnemonic\\\"; send \\\"$FAUCET_WORDS\\r\\\"; expect eof\" && 77 while true; do 78 expect -c \"set timeout -1; spawn gnofaucet serve faucet --is-behind-proxy --send 50000000ugnot --captcha-secret \\\"$RECAPTCHA_SECRET_KEY\\\" --remote gnoland:36657 --chain-id test2 --home /.gno/; expect \\\"Enter password.\\\"; send \\\"$GNOKEY_PASS\\r\\\"; expect eof\"; 79 sleep 5; 80 done 81 " 82 links: 83 - gnoland 84 environment: 85 - VIRTUAL_HOST=faucet.test2.gno.land 86 - VIRTUAL_PORT=5050 87 - LETSENCRYPT_HOST=faucet.test2.gno.land 88 # from .env 89 - RECAPTCHA_SECRET_KEY 90 - FAUCET_WORDS 91 - GNOKEY_PASS 92 ports: 93 - 5050 94 restart: on-failure 95 logging: 96 driver: "json-file" 97 options: 98 max-file: "10" 99 max-size: "100m" 100 101 nginx-proxy: 102 image: nginxproxy/nginx-proxy 103 container_name: nginx-proxy 104 ports: 105 - "80:80" 106 - "443:443" 107 volumes: 108 - conf:/etc/nginx/conf.d 109 - vhost:/etc/nginx/vhost.d 110 - html:/usr/share/nginx/html 111 - certs:/etc/nginx/certs:ro 112 - /var/run/docker.sock:/tmp/docker.sock:ro 113 logging: 114 driver: "json-file" 115 options: 116 max-file: "10" 117 max-size: "100m" 118 119 acme-companion: 120 image: nginxproxy/acme-companion 121 container_name: nginx-proxy-acme 122 environment: 123 - DEFAULT_EMAIL=noreply@gno.land 124 volumes_from: 125 - nginx-proxy 126 volumes: 127 - certs:/etc/nginx/certs:rw 128 - acme:/etc/acme.sh 129 - /var/run/docker.sock:/var/run/docker.sock:ro 130 logging: 131 driver: "json-file" 132 options: 133 max-file: "10" 134 max-size: "100m" 135 136 volumes: 137 conf: 138 vhost: 139 html: 140 certs: 141 acme: