1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-02 02:36:24 -07:00
gochan/docker/docker-compose.yml.default

18 lines
463 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' if needed
- DATABASE_HOST=host.docker.internal
- DATABASE_PORT=3306
- DATABASE_NAME=gochan
- DATABASE_USER=root
- DATABASE_PASSWORD=root