this changes the Dockerfile a bit to work with the current version 0.10.0 of writefreely, and removes the docker-setup script for now. Kind of a work in progress but wanted to share with those interested.
30 lines
No EOL
575 B
YAML
30 lines
No EOL
575 B
YAML
version: "3"
|
|
services:
|
|
web:
|
|
image: robjloranger/writefreely:v0.10.0
|
|
volumes:
|
|
- ./keys:/home/writefreely/keys
|
|
- ./config.ini:/home/writefreely/config.ini
|
|
ports:
|
|
- "8080:8080"
|
|
networks:
|
|
- writefreely
|
|
depends_on:
|
|
- db
|
|
restart: unless-stopped
|
|
db:
|
|
image: "mariadb:latest"
|
|
volumes:
|
|
- db-data:/var/lib/mysql/data
|
|
networks:
|
|
- writefreely
|
|
environment:
|
|
- MYSQL_DATABASE=writefreely
|
|
- MYSQL_ROOT_PASSWORD=changeme
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
db-data:
|
|
|
|
networks:
|
|
writefreely: |