Initial commit
This commit is contained in:
32
docker-compose.yml
Normal file
32
docker-compose.yml
Normal 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:
|
Reference in New Issue
Block a user