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 432B

3 years ago
123456789101112131415161718192021222324
  1. version: "3.9"
  2. services:
  3. web:
  4. build: ./web
  5. container_name: python
  6. ports:
  7. - "5000:5000"
  8. volumes:
  9. - ./web:/code
  10. env_file:
  11. - ./.env.dev
  12. db:
  13. image: mariadb:latest
  14. container_name: mariadb
  15. restart: unless-stopped
  16. env_file:
  17. - ./.env.dev
  18. volumes:
  19. - dbdata:/var/lib/mysql
  20. command: '--default-authentication-plugin=mysql_native_password'
  21. volumes:
  22. dbdata: