Dan Helfman
08981df8ca
All checks were successful
continuous-integration/drone/push Build is passing
32 lines
835 B
YAML
32 lines
835 B
YAML
version: '3'
|
|
services:
|
|
mediagoblin-database:
|
|
image: docker.io/postgres:14.3-alpine
|
|
restart: always
|
|
environment:
|
|
POSTGRES_USER: mediagoblin
|
|
POSTGRES_PASSWORD: dev
|
|
POSTGRES_DB: mediagoblin
|
|
PGDATA: /var/lib/postgresql/data/pgdata
|
|
networks:
|
|
- default
|
|
mediagoblin:
|
|
image: projects.torsion.org/witten/mediagoblin-docker
|
|
restart: always
|
|
environment:
|
|
NOTIFICATION_EMAIL: dev@torsion.org
|
|
EMAIL_HOSTNAME: dev.torsion.org
|
|
EMAIL_PORT: 993
|
|
EMAIL_USERNAME: dev
|
|
EMAIL_PASSWORD: dev
|
|
EMAIL_TLS_SSL: "false"
|
|
EMAIL_STARTTLS: "true"
|
|
DATABASE_URL: "postgresql://mediagoblin:dev@mediagoblin-database/mediagoblin"
|
|
VIRTUAL_HOST: "localhost"
|
|
ports:
|
|
- 8080:80
|
|
depends_on:
|
|
- mediagoblin-database
|
|
networks:
|
|
- default
|