Gérer sa collection de jeux vidéos, consoles et figurines. Et plus si affinités.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-compose.yml 840B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. version: '2'
  2. services:
  3. app:
  4. build: .
  5. image: carnetdejeu
  6. command: amber watch
  7. environment:
  8. DATABASE_URL: postgres://admin:password@db:5432/carnetdejeu_development
  9. ports:
  10. - 3000:3000
  11. links:
  12. - db
  13. volumes:
  14. - .:/app
  15. - nodes:/app/node_modules
  16. - shards:/app/lib
  17. migrate:
  18. build: .
  19. image: carnetdejeu
  20. command: bash -c 'while ! nc -q 1 db 5432 </dev/null; do sleep 1; done && amber db migrate seed'
  21. environment:
  22. DATABASE_URL: postgres://admin:password@db:5432/carnetdejeu_development
  23. volumes:
  24. - .:/app
  25. links:
  26. - db
  27. db:
  28. image: postgres
  29. environment:
  30. POSTGRES_USER: admin
  31. POSTGRES_PASSWORD: password
  32. POSTGRES_DB: carnetdejeu_development
  33. volumes:
  34. - db:/var/lib/postgres/data
  35. volumes:
  36. db:
  37. nodes:
  38. shards: