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