mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-02 06:46:24 -07:00
18 lines
476 B
Text
18 lines
476 B
Text
version: '3.2'
|
|
services:
|
|
gochan:
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/Dockerfile
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ../:/opt/gochan # note: this doesn't work too well in MacOS.
|
|
environment:
|
|
- DBTYPE=mysql # change this to 'postgresql' or 'sqlite3' if needed
|
|
- DATABASE_HOST=host.docker.internal
|
|
- DATABASE_PORT=3306
|
|
- DATABASE_NAME=gochan
|
|
- DATABASE_USER=root
|
|
- DATABASE_PASSWORD=root
|