Docker set up for wordpress / bedrock
web:
build: .
# Dla bedrocka command: php -S 0.0.0.0:8000 -t /code/web
command: php -S 0.0.0.0:8000 -t /code
ports:
- "8000:8000"
links:
- mariadb
volumes:
- .:/code
mariadb:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: example
phpmyadmin:
image: nazarpc/phpmyadmin
container_name: myadmin2
links:
- mariadb:mysql
ports:
- 1234:80