docker-compose.yml 650 B

12345678910111213141516171819
  1. services:
  2. app:
  3. build: .
  4. image: app
  5. container_name: app
  6. restart: unless-stopped
  7. network_mode: 'host'
  8. # ports:
  9. # - '127.0.0.1:3000:3000' # use with proxy server (eg. Nginx)
  10. environment:
  11. - COUCHDB_USER=${COUCHDB_USER} # change this to match your system's ENV
  12. - COUCHDB_PASSWORD=${COUCHDB_PASSWORD} # change this to match your system's ENV
  13. - MNEMONIC=${MNEMONIC} # change this to match your system's ENV
  14. - TREASURY_ADDRESS=${TREASURY_ADDRESS}
  15. logging: # apply better controls to Docker overlay folder
  16. driver: 'json-file'
  17. options:
  18. max-file: '5'
  19. max-size: '10m'