docker-compose.yml 428 B

12345678910111213141516171819202122
  1. version: "3.3"
  2. services:
  3. bot:
  4. build: .
  5. command: python3 /bot/src/main.py
  6. volumes:
  7. - ./out:/bot/out
  8. - ./conf:/bot/conf
  9. environment:
  10. - CONF_FOLDER=/bot/conf/
  11. user: 1000:1000
  12. web:
  13. build: .
  14. command: python3 /bot/src/web.py
  15. volumes:
  16. - ./out:/bot/out
  17. - ./conf:/bot/conf
  18. environment:
  19. - CONF_FOLDER=/bot/conf/
  20. user: 1000:1000
  21. ports:
  22. - "5000:5000"