mastodon-app/docker-compose.yml
Aleksandr Bogdanov e9fc6f58a3 Initial commit
2018-10-30 18:54:19 +01:00

32 lines
548 B
YAML

version: '2.4'
services:
mastodon:
build: .
ports:
- 3000
- 4000
- 80:8000
environment:
- LOCAL_DOMAIN=localhost
- LOCAL_HTTPS=false
- POSTGRESQL_HOST=postgres
- POSTGRESQL_DATABASE=postgres
- POSTGRESQL_USERNAME=postgres
- POSTGRESQL_PASSWORD=postgres
- REDIS_HOST=redis
volumes:
- data:/app/data
tmpfs:
- /run
- /tmp
postgres:
image: postgres
environment:
- POSTGRES_PASSWORD=postgres
redis:
image: redis
volumes:
data: