mirror of https://github.com/writeas/writefreely
A focused writing and publishing space.
https://write.with.parts
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.
30 lines
504 B
30 lines
504 B
version: "3"
|
|
services:
|
|
web:
|
|
build: .
|
|
volumes:
|
|
- "web-data:/go/src/app"
|
|
ports:
|
|
- "8080:8080"
|
|
networks:
|
|
- writefreely
|
|
depends_on:
|
|
- db
|
|
restart: unless-stopped
|
|
db:
|
|
image: "mariadb:latest"
|
|
volumes:
|
|
- "./schema.sql:/tmp/schema.sql"
|
|
- db-data:/var/lib/mysql/data
|
|
networks:
|
|
- writefreely
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=changeme
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
web-data:
|
|
db-data:
|
|
|
|
networks:
|
|
writefreely:
|
|
|