Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3.0"
- services:
- icecast:
- image: moul/icecast
- volumes:
- - logs:/var/log/icecast2
- - /etc/localtime:/etc/localtime:ro
- ports:
- - 8000:8000
- postgres:
- image: 'postgres:9.6'
- environment:
- - PGDATA=/var/lib/postgresql/data/pgdata
- - POSTGRES_PASSWORD=
- - POSTGRES_USER=postgres
- networks:
- - default
- volumes:
- - 'postgres:/var/lib/postgresql/data'
- labels:
- description: "Postgresql Database"
- service: "postgresql"
- redis:
- image: redis
- ports:
- - 6379:6379
- volumes:
- - 'redis:/data'
- command: redis-server --appendonly yes
- web:
- build:
- context: "./"
- dockerfile: Dockerfile-development
- volumes:
- - .:/src
- env_file:
- - './src/.env'
- environment:
- - REDIS-URL=redis://redis:6379/
- - POSTGRES-URL=postgres://postgres:5432/
- depends_on:
- - redis
- - postgres
- - icecast
- ports:
- - "3000:3000"
- volumes:
- redis:
- postgres:
- logs:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement