A clean, Markdown-based publishing platform made for writers. Write together, and build a community. https://writefreely.org
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.
 
 
 
 
 

33 lines
593 B

  1. version: "3"
  2. services:
  3. web:
  4. build: .
  5. volumes:
  6. - "web-data:/go/src/app"
  7. - "./config.ini.example:/go/src/app/config.ini"
  8. ports:
  9. - "8080:8080"
  10. networks:
  11. - writefreely
  12. depends_on:
  13. - db
  14. restart: unless-stopped
  15. db:
  16. image: "mariadb:latest"
  17. volumes:
  18. - "./schema.sql:/tmp/schema.sql"
  19. - db-data:/var/lib/mysql/data
  20. networks:
  21. - writefreely
  22. environment:
  23. - MYSQL_DATABASE=writefreely
  24. - MYSQL_ROOT_PASSWORD=changeme
  25. restart: unless-stopped
  26. volumes:
  27. web-data:
  28. db-data:
  29. networks:
  30. writefreely: