Initial commit

This commit is contained in:
Aleksandr Bogdanov
2018-10-30 16:46:13 +01:00
commit e9fc6f58a3
11 changed files with 301 additions and 0 deletions

32
docker-compose.yml Normal file
View File

@@ -0,0 +1,32 @@
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: