mirror of
https://github.com/jrasanen/writefreely-docker.git
synced 2025-02-05 00:42:46 +02:00
a15d4e58cd
* Update ini configuration. Add docker-compose examples * remove unneeded network config * Add docker compose instructions * Correct sqlite location * do not wait for MariaDB * Use writefreely user * Add .env instructions for docker compose * Retry init if database is not ready * Ignore production directories * Improve init checks * refactor init script --------- Co-authored-by: Germán Martín <gmartin@gmartin.net>
15 lines
266 B
YAML
15 lines
266 B
YAML
services:
|
|
writefreely-web:
|
|
container_name: writefreely-web
|
|
image: jrasanen/writefreely:latest
|
|
build:
|
|
context: .
|
|
init: true
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./data:/data
|
|
ports:
|
|
- 8080:8080
|
|
restart: unless-stopped
|
|
|