Advertisement
Guest User

docker-compose config output

a guest
Jun 5th, 2019
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.01 KB | None | 0 0
  1. # See https://stackoverflow.com/questions/56459243/docker-compose-build-time-args-from-file
  2. networks:
  3. default:
  4. driver: bridge
  5. services:
  6. saas-api:
  7. build:
  8. args:
  9. LOG_LEVEL: notice
  10. NODE_ENV: development
  11. PORT: '8000'
  12. context: /home/pedro/src/opensource/saas-boilerplate/api
  13. command: yarn start
  14. container_name: saas-api
  15. depends_on:
  16. - saas-mongo
  17. environment:
  18. AMAZON_ACCESSKEYID: xxxxxx
  19. AMAZON_SECRETACCESSKEY: xxxxxx
  20. COOKIE_DOMAIN: .saas.localhost
  21. EMAIL_SUPPORT_FROM_ADDRESS: email@domain.com
  22. GOOGLE_CLIENTID: xxxxxx
  23. GOOGLE_CLIENTSECRET: xxxxxx
  24. MAILCHIMP_API_KEY: xxxxxx
  25. MAILCHIMP_REGION: xxxx
  26. MAILCHIMP_SAAS_ALL_LIST_ID: xxxxxx
  27. MONGO_URL: mongodb://saas:secret@saas-mongo:27017/saas
  28. NODE_ENV: development
  29. SESSION_NAME: saas.sid
  30. SESSION_SECRET: xxxxxx
  31. STRIPE_LIVE_ENDPOINTSECRET: whsec_xxxxxx
  32. STRIPE_LIVE_PLANID: plan_xxxxxx
  33. STRIPE_LIVE_PUBLISHABLEKEY: pk_live_xxxxxx
  34. STRIPE_LIVE_SECRETKEY: sk_live_xxxxxx
  35. STRIPE_TEST_PLANID: plan_xxxxxx
  36. STRIPE_TEST_PUBLISHABLEKEY: pk_test_xxxxxx
  37. STRIPE_TEST_SECRETKEY: sk_test_xxxxxx
  38. URL_API: http://api.saas.localhost:8000
  39. URL_APP: http://app.saas.localhost:3000
  40. image: saas-api:dev
  41. networks:
  42. default:
  43. aliases:
  44. - api.saas.localhost
  45. ports:
  46. - published: 8000
  47. target: 8000
  48. saas-app:
  49. build:
  50. args:
  51. LOG_LEVEL: notice
  52. NODE_ENV: development
  53. PORT: '3000'
  54. context: /home/pedro/src/opensource/saas-boilerplate/app
  55. command: yarn start
  56. container_name: saas-app
  57. depends_on:
  58. - saas-api
  59. environment:
  60. BUCKET_FOR_POSTS: xxxxxx
  61. BUCKET_FOR_TEAM_AVATARS: xxxxxx
  62. GA_TRACKING_ID: ''
  63. LAMBDA_API_ENDPOINT: xxxxxxapi
  64. NODE_ENV: development
  65. STRIPEPUBLISHABLEKEY: pk_test_xxxxxxxxxxxxxxx
  66. URL_API: http://api.saas.localhost:8000
  67. URL_APP: http://app.saas.localhost:3000
  68. image: saas-app:dev
  69. networks:
  70. default:
  71. aliases:
  72. - app.saas.localhost
  73. ports:
  74. - published: 3000
  75. target: 3000
  76. saas-mongo:
  77. container_name: saas-mongo
  78. environment:
  79. MONGO_INITDB_DATABASE: saas
  80. MONGO_INITDB_ROOT_PASSWORD: supersecret
  81. MONGO_INITDB_ROOT_USERNAME: root
  82. MONGO_NON_ROOT_PASSWORD: secret
  83. MONGO_NON_ROOT_USERNAME: saas
  84. image: mongo
  85. ports:
  86. - published: 27017
  87. target: 27017
  88. volumes:
  89. - /home/pedro/src/opensource/saas-boilerplate/mongo-user.sh:/docker-entrypoint-initdb.d/mongo-user.sh:ro
  90. - /tmp/saas-db:/data/db:rw
  91. saas-mongoexp:
  92. container_name: saas-mongoexp
  93. depends_on:
  94. - saas-mongo
  95. environment:
  96. ME_CONFIG_MONGODB_ADMINPASSWORD: supersecret
  97. ME_CONFIG_MONGODB_ADMINUSERNAME: root
  98. ME_CONFIG_MONGODB_SERVER: saas-mongo
  99. image: mongo-express
  100. ports:
  101. - published: 8081
  102. target: 8081
  103. version: '3.7'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement