Skip to content

Instantly share code, notes, and snippets.

@u007 u007/docker-compose.yml
Last active Aug 9, 2018

Embed
What would you like to do?
docker compose for web development
version: "3"
services:
mysql:
image: 'mariadb:10'
ports:
- "3306:3306"
volumes:
- ./mariadb:/var/lib/mysql
environment:
- "MYSQL_ROOT_PASSWORD=root"
networks:
- "default"
minio:
image: "webhippie/minio"
ports:
- "9000:9000"
volumes:
- ./minio:/var/lib/minio
environment:
- "MINIO_ACCESS_KEY=NAA4SM759MKMX773CPX3"
- "MINIO_SECRET_KEY=H/l55SDFxD01gHugSDFDSVFGSRETGRSHBTJFAtV"
networks:
- "default"
pg:
image: "postgres:10-alpine"
ports:
- "5432:5432"
volumes:
- ./postgres:/var/lib/postgresql/data
networks:
- "default"
redis:
image: "redis:4-alpine"
ports:
- "6379:6379"
volumes:
- ./redis/data:/data
networks:
- "default"
mailer:
image: mailhog/mailhog
ports:
- "1025:1025"
- "8025:8025"
networks:
default:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.