Forked from
Alexander Holt / devops-workshop
1 commit behind, 17 commits ahead of the upstream repository.
-
Morten Nyang Nordseth authoredMorten Nyang Nordseth authored
docker-compose.yaml 435 B
# Use root/example as user/password credentials
version: '3.1'
services:
db:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
volumes:
- ./sql:/docker-entrypoint-initdb.d
environment:
MYSQL_ROOT_PASSWORD: example
webserver:
environment:
DB_CHOICE: db
image: devops
restart: always
ports:
- 80:8080
depends_on:
- db