version: '3.4' services: app: build: context: . target: development ports: - 8080:80 env_file: - .env.develop volumes: - ./:/var/www/ user: ${DOCKER_UID} db: image: mariadb env_file: - .env.develop ports: - 13306:3306 volumes: - db_data:/var/lib/mysql - ./sql/init_tables.sql:/docker-entrypoint-initdb.d/init_tables.sql:ro adminer: image: adminer ports: - 8099:8080 volumes: db_data: