docker-compose.yml 755 B

1234567891011121314151617181920212223242526272829303132333435
  1. version: '3'
  2. services:
  3. flectra:
  4. build:
  5. context: ./flectra
  6. depends_on:
  7. - db
  8. environment:
  9. - WDB_SOCKET_SERVER=wdb
  10. - WDB_NO_BROWSER_AUTO_OPEN=True
  11. ports:
  12. - "7073:7073"
  13. volumes:
  14. - flectra-web-data:/var/lib/flectra
  15. - ./src/flectra:/opt/flectra:rw,z
  16. - ./etc:/etc/flectra:ro,z
  17. - ./src/repos:/mnt/repos:rw,z
  18. db:
  19. image: postgres:9.6-alpine
  20. ports:
  21. - "5050:5432"
  22. environment:
  23. - POSTGRES_PASSWORD=flectra
  24. - POSTGRES_USER=flectra
  25. - PGDATA=/var/lib/postgresql/data/pgdata
  26. volumes:
  27. - flectra-db-data:/var/lib/postgresql/data/pgdata
  28. wdb:
  29. image: kozea/wdb-server
  30. ports:
  31. - "1984:1984"
  32. volumes:
  33. flectra-web-data:
  34. flectra-db-data: